Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.034/5.034, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002473/0.002472, allocations: 354.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.356/4.356, allocations: 410.7 MB / 1.113 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00183/0.00183, allocations: 179.7 kB / 1.226 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005044, allocations: 12 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8611/0.8616, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/1.066, allocations: 137.4 MB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.067, allocations: 77.3 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.008442/1.075, allocations: 2.041 MB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.124e-06/1.075, allocations: 0.5 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.075, allocations: 1.562 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002996/1.075, allocations: 339.3 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.075, allocations: 11.62 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/1.076, allocations: 0.75 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/1.076, allocations: 163.6 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.076, allocations: 4 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/1.076, allocations: 5.625 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.076, allocations: 41.69 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.076, allocations: 3.938 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.076, allocations: 3.984 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.076, allocations: 5 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/1.076, allocations: 15.94 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/1.076, allocations: 171.7 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.076, allocations: 42.62 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/1.076, allocations: 20.97 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.151e-05/1.076, allocations: 85.69 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/1.076, allocations: 32.38 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/1.076, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.001467/1.078, allocations: 482 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/1.078, allocations: 52.16 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/1.078, allocations: 94.56 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.078, allocations: 30.77 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/1.078, allocations: 84.14 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/1.078, allocations: 20.66 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/1.078, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/1.078, allocations: 324.6 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/1.078, allocations: 8 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/1.078, allocations: 12 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/1.078, allocations: 19.97 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.078, allocations: 1.406 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001351/1.078, allocations: 73.62 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.078, allocations: 4 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.079, allocations: 3.938 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.079, allocations: 0.6875 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.079, allocations: 12.44 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.079, allocations: 1 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/1.079, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.079, allocations: 13.02 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/1.079, allocations: 115.1 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/1.079, allocations: 7.906 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/1.079, allocations: 82.2 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.079, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.079, allocations: 2.156 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.079, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/1.079, allocations: 169.6 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.079, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.079, allocations: 16 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.079, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.079, allocations: 1.312 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.079, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.079, allocations: 400 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/1.08, allocations: 122.2 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/1.08, allocations: 81.91 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/1.08, allocations: 7.984 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/1.08, allocations: 0.5 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/1.08, allocations: 6.172 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.08, allocations: 7.938 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.12e-05/1.08, allocations: 75.94 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.08, allocations: 0 / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002962/1.08, allocations: 49.17 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002603/1.081, allocations: 144 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001284/1.081, allocations: 35.92 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.081, allocations: 0.875 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/1.081, allocations: 23.98 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/1.081, allocations: 10.78 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/1.081, allocations: 140.6 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/1.081, allocations: 0.6848 MB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.288e-05/1.081, allocations: 5.344 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/1.081, allocations: 12.19 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/1.081, allocations: 0 / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003573/1.085, allocations: 0.8043 MB / 1.602 GB, free: 139.7 MB / 0.8542 GB