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 5.161/5.161, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002382/0.002382, allocations: 356.1 kB / 0.644 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 3.925/3.925, allocations: 410.7 MB / 1.112 GB, free: 5.992 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.001782/0.001782, allocations: 183.8 kB / 1.225 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.000556, allocations: 16 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.6032, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001179/0.6044, allocations: 1.035 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1387/0.7431, allocations: 134.4 MB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.7432, allocations: 4 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.7433, allocations: 3.938 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/0.7434, allocations: 11.97 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.7442, allocations: 228.6 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.7442, allocations: 71.75 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.7443, allocations: 7.984 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.7443, allocations: 27.92 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.7444, allocations: 31.89 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.7445, allocations: 4 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/0.7451, allocations: 247.2 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.7452, allocations: 15.97 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.7452, allocations: 37.64 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.7455, allocations: 97.94 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.596e-06/0.7455, allocations: 0 / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.359e-06/0.7455, allocations: 0 / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.475e-06/0.7455, allocations: 0 / 1.594 GB, free: 148.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003757/0.7459, allocations: 371.2 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.7459, allocations: 15.62 kB / 1.594 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.7464, allocations: 47.83 kB / 1.594 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.811e-05/0.7465, allocations: 159.1 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.7465, allocations: 8.891 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.7466, allocations: 15.91 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.7468, allocations: 77.58 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7468, allocations: 4 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.7468, allocations: 4 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-06/0.7468, allocations: 3.953 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.7469, allocations: 45.64 kB / 1.594 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.7471, allocations: 181.6 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.7474, allocations: 102.6 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.7474, allocations: 24.84 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.7477, allocations: 178.5 kB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.7477, allocations: 30.56 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.567e-06/0.7477, allocations: 3.938 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.00143/0.7492, allocations: 0.5473 MB / 1.595 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.7492, allocations: 59.3 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.7493, allocations: 97.86 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.7493, allocations: 29.7 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.752e-05/0.7493, allocations: 84.52 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.7494, allocations: 74.94 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-06/0.7494, allocations: 0 / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.7495, allocations: 318.8 kB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.727e-05/0.7496, allocations: 35.98 kB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.7497, allocations: 74.98 kB / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.7498, allocations: 47.97 kB / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-06/0.7498, allocations: 0 / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002766/0.7501, allocations: 149.5 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7501, allocations: 4 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.1e-06/0.7501, allocations: 0 / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7501, allocations: 4 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.7504, allocations: 44.03 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.168e-06/0.7504, allocations: 3.953 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.7505, allocations: 12 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.7505, allocations: 8 kB / 1.596 GB, free: 145 MB / 0.8542 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 8.267e-05/0.7506, allocations: 121.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.7506, allocations: 7.906 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.7507, allocations: 20.44 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-06/0.7507, allocations: 0 / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7507, allocations: 0 / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-06/0.7507, allocations: 8.547 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.7509, allocations: 189.6 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.7509, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.7511, allocations: 47.92 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.259e-06/0.7512, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.7512, allocations: 4 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.89e-06/0.7512, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-06/0.7512, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.7516, allocations: 212.3 kB / 1.597 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.7516, allocations: 89.75 kB / 1.597 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.7517, allocations: 8.062 kB / 1.597 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.7518, allocations: 11.94 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.7519, allocations: 11.98 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.7519, allocations: 8 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.364e-05/0.7519, allocations: 79.22 kB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.43e-07/0.7519, allocations: 0 / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000298/0.7522, allocations: 31.95 kB / 1.597 GB, free: 144.1 MB / 0.8542 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.0001259/0.7524, allocations: 119.2 kB / 1.597 GB, free: 144 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.7526, allocations: 99.89 kB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.343e-06/0.7526, allocations: 0 / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.7527, allocations: 47.92 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.753, allocations: 23.94 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.7539, allocations: 0.6156 MB / 1.598 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.7541, allocations: 0.7049 MB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000196/0.7543, allocations: 29.94 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.7543, allocations: 15.44 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.696e-06/0.7543, allocations: 0 / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003994/0.7583, allocations: 1.019 MB / 1.6 GB, free: 141.4 MB / 0.8542 GB