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 4.75/4.75, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 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.002441/0.002441, allocations: 360.4 kB / 0.6447 GB, free: 185.7 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.122/4.122, allocations: 410.7 MB / 1.113 GB, free: 6.016 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.001829/0.001829, allocations: 179.1 kB / 1.226 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004825, allocations: 8 kB / 1.349 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6923, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001358/0.6937, allocations: 1.035 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.8523, allocations: 134.4 MB / 1.594 GB, free: 149 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.8524, allocations: 0 / 1.594 GB, free: 149 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.8525, allocations: 11.92 kB / 1.594 GB, free: 149 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.8526, allocations: 15.91 kB / 1.594 GB, free: 149 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.8534, allocations: 216 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.8535, allocations: 67.8 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.8536, allocations: 8 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.8536, allocations: 35.91 kB / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.689e-05/0.8537, allocations: 31.89 kB / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.8538, allocations: 0 / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.8545, allocations: 243.2 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.8546, allocations: 23.95 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.8546, allocations: 33.64 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.8548, allocations: 101.9 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8549, allocations: 0 / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8549, allocations: 4 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.8549, allocations: 3.938 kB / 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.0004017/0.8553, allocations: 371.1 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8553, allocations: 11.62 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005215/0.8559, allocations: 43.86 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.856, allocations: 159.1 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.856, allocations: 8.734 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.856, allocations: 15.91 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.8562, allocations: 79.02 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8563, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.8563, allocations: 4 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8563, allocations: 9.641 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.8564, allocations: 39.95 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.8566, allocations: 185.6 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.8569, allocations: 94.53 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.8569, allocations: 32.94 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.8572, allocations: 178.5 kB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.8572, allocations: 34.56 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.8572, allocations: 3.938 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.00163/0.8589, allocations: 0.5314 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.8589, allocations: 67.34 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.91e-05/0.859, allocations: 97.8 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.859, allocations: 33.83 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.859, allocations: 80.52 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.8591, allocations: 74.98 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-06/0.8591, allocations: 0 / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.8592, allocations: 318.8 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.8593, allocations: 35.97 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.8594, allocations: 70.05 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.8595, allocations: 48 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.8595, allocations: 0 / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002979/0.8598, allocations: 153.5 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.8599, allocations: 11.94 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8599, allocations: 0 / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.8599, allocations: 4 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.8602, allocations: 35.98 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.8602, allocations: 4 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.8603, allocations: 7.953 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.8603, allocations: 8 kB / 1.597 GB, free: 145.1 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.492e-05/0.8604, allocations: 129.8 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.8605, allocations: 7.906 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.8605, allocations: 16.44 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8605, allocations: 3.094 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8606, allocations: 8.062 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.8606, allocations: 93 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.8607, allocations: 7.953 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.8609, allocations: 7.984 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.8609, allocations: 19.98 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005197/0.8615, allocations: 229.5 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004417/0.8619, allocations: 366 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001053/0.862, allocations: 52.03 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.164e-05/0.8621, allocations: 87.22 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of Backend: time 5.11e-07/0.8621, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006822/0.8628, allocations: 222.2 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009861/0.8638, allocations: 1.031 MB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.006611/0.8704, allocations: 2.217 MB / 1.601 GB, free: 140.6 MB / 0.8542 GB