Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.601/2.601, allocations: 287.9 MB / 302.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 186 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 91.67 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 13.7 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001268/0.1611, allocations: 1.027 MB / 0.9797 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7144/0.8755, allocations: 125.2 MB / 1.102 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.8756, allocations: 0 / 1.102 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.8756, allocations: 4.062 kB / 1.102 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.8757, allocations: 12.11 kB / 1.102 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.8767, allocations: 242.4 kB / 1.102 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.8768, allocations: 39.59 kB / 1.102 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.8768, allocations: 3.688 kB / 1.102 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.8769, allocations: 30.19 kB / 1.102 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.877, allocations: 29.44 kB / 1.102 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.877, allocations: 5.766 kB / 1.102 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.8779, allocations: 285.9 kB / 1.103 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.878, allocations: 12.02 kB / 1.103 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.8781, allocations: 37.39 kB / 1.103 GB, free: 18.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.8784, allocations: 101.6 kB / 1.103 GB, free: 18.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.794e-06/0.8784, allocations: 0 / 1.103 GB, free: 18.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.106e-06/0.8785, allocations: 1.781 kB / 1.103 GB, free: 18.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.707e-06/0.8785, allocations: 3.938 kB / 1.103 GB, free: 18.09 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004728/0.8789, allocations: 374.8 kB / 1.103 GB, free: 17.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.879, allocations: 16.92 kB / 1.103 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.8795, allocations: 37.62 kB / 1.103 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.8797, allocations: 164.9 kB / 1.103 GB, free: 17.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.8797, allocations: 5.062 kB / 1.103 GB, free: 17.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.8797, allocations: 15.44 kB / 1.103 GB, free: 17.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.8799, allocations: 79.03 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.68e-06/0.88, allocations: 0.5625 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.88, allocations: 1.594 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.88, allocations: 7.891 kB / 1.103 GB, free: 17.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.8802, allocations: 48.84 kB / 1.103 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.8804, allocations: 186.7 kB / 1.104 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.8806, allocations: 83.12 kB / 1.104 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.8807, allocations: 8.625 kB / 1.104 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.8807, allocations: 40.61 kB / 1.104 GB, free: 17.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.603e-06/0.8808, allocations: 4 kB / 1.104 GB, free: 17.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001647/0.8824, allocations: 0.5405 MB / 1.104 GB, free: 16.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.8825, allocations: 57.64 kB / 1.104 GB, free: 16.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.8826, allocations: 99.45 kB / 1.104 GB, free: 16.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.8826, allocations: 32.42 kB / 1.104 GB, free: 16.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.8827, allocations: 83.69 kB / 1.105 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.8828, allocations: 63.94 kB / 1.105 GB, free: 16.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-06/0.8828, allocations: 2.062 kB / 1.105 GB, free: 16.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8829, allocations: 322.4 kB / 1.105 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.883, allocations: 35.78 kB / 1.105 GB, free: 16.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.8832, allocations: 74.27 kB / 1.105 GB, free: 16.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.8833, allocations: 43 kB / 1.105 GB, free: 16.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-06/0.8833, allocations: 0 / 1.105 GB, free: 16.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003269/0.8836, allocations: 154.9 kB / 1.105 GB, free: 16.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8837, allocations: 4.531 kB / 1.105 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-06/0.8837, allocations: 1.188 kB / 1.105 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8837, allocations: 2.188 kB / 1.105 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.8839, allocations: 39.3 kB / 1.105 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.07e-06/0.884, allocations: 2.188 kB / 1.105 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.8841, allocations: 11.8 kB / 1.105 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.8841, allocations: 16.75 kB / 1.105 GB, free: 16.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001314/0.8842, allocations: 119.8 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.8843, allocations: 11.14 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.8843, allocations: 15.44 kB / 1.105 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8844, allocations: 2.688 kB / 1.105 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.8844, allocations: 3.438 kB / 1.105 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-06/0.8844, allocations: 6.875 kB / 1.105 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.8846, allocations: 195.8 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-06/0.8846, allocations: 5 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.8849, allocations: 42.84 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-06/0.8849, allocations: 1.156 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.8849, allocations: 1.625 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.731e-06/0.8849, allocations: 0.75 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.228e-06/0.8849, allocations: 2.656 kB / 1.106 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.8854, allocations: 212.4 kB / 1.106 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.8855, allocations: 89.73 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.8855, allocations: 7.656 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.8857, allocations: 9.859 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.8857, allocations: 8.656 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.8858, allocations: 9.547 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.8858, allocations: 80.41 kB / 1.106 GB, free: 15.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.13e-07/0.8858, allocations: 0 / 1.106 GB, free: 15.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003252/0.8862, allocations: 29.41 kB / 1.106 GB, free: 15.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.000176/0.8864, allocations: 115.4 kB / 1.106 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.8866, allocations: 97.66 kB / 1.106 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8867, allocations: 3.125 kB / 1.106 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.8868, allocations: 55.02 kB / 1.106 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.887, allocations: 11.11 kB / 1.106 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.8881, allocations: 0.6228 MB / 1.107 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.8885, allocations: 0.702 MB / 1.108 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.8887, allocations: 30.02 kB / 1.108 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.8888, allocations: 15.44 kB / 1.108 GB, free: 14.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.806e-06/0.8888, allocations: 0 / 1.108 GB, free: 14.37 MB / 0.698 GB Notification: Performance of Templates: time 0.00449/0.8933, allocations: 1.007 MB / 1.109 GB, free: 14.29 MB / 0.698 GB