Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.748/2.748, allocations: 287.9 MB / 302.9 MB, free: 8.352 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.001431/0.001431, allocations: 179.4 kB / 371.4 MB, free: 10.65 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 1.971/1.971, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001046/0.001045, allocations: 92.48 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1711, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001804/0.173, allocations: 0.9843 MB / 0.9797 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7679/0.9409, allocations: 124.3 MB / 1.101 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.941, allocations: 0 / 1.101 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.9411, allocations: 3.531 kB / 1.101 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.9411, allocations: 3.688 kB / 1.101 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.9415, allocations: 82.3 kB / 1.101 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.9416, allocations: 24.8 kB / 1.101 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.9416, allocations: 5.375 kB / 1.101 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.013e-05/0.9417, allocations: 16.41 kB / 1.101 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.9417, allocations: 15.28 kB / 1.101 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.9418, allocations: 5.312 kB / 1.101 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.942, allocations: 80.25 kB / 1.101 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.9421, allocations: 6.812 kB / 1.101 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.912e-05/0.9422, allocations: 36.02 kB / 1.101 GB, free: 18.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.9423, allocations: 43.22 kB / 1.101 GB, free: 18.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.9423, allocations: 0 / 1.101 GB, free: 18.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9423, allocations: 0 / 1.101 GB, free: 18.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.9424, allocations: 5.375 kB / 1.101 GB, free: 18.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003871/0.9428, allocations: 338.7 kB / 1.102 GB, free: 18.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.9428, allocations: 9.625 kB / 1.102 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.943, allocations: 18.94 kB / 1.102 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.9432, allocations: 165.2 kB / 1.102 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.9432, allocations: 5.562 kB / 1.102 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.9433, allocations: 9.797 kB / 1.102 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.9434, allocations: 54.98 kB / 1.102 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.005e-06/0.9434, allocations: 3.938 kB / 1.102 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.9434, allocations: 1.375 kB / 1.102 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-06/0.9435, allocations: 5.328 kB / 1.102 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.9435, allocations: 16.55 kB / 1.102 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.9437, allocations: 161.8 kB / 1.102 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.613e-05/0.9438, allocations: 48.48 kB / 1.102 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.9439, allocations: 0 / 1.102 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9439, allocations: 38.14 kB / 1.102 GB, free: 17.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.939e-06/0.9439, allocations: 3.938 kB / 1.102 GB, free: 17.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0008432/0.9448, allocations: 375 kB / 1.103 GB, free: 17.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.9448, allocations: 52.56 kB / 1.103 GB, free: 17.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.9449, allocations: 93.33 kB / 1.103 GB, free: 17.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.9449, allocations: 30.98 kB / 1.103 GB, free: 17.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.945, allocations: 83.33 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.945, allocations: 39.34 kB / 1.103 GB, free: 16.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-06/0.9451, allocations: 0 / 1.103 GB, free: 16.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9452, allocations: 320.7 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/0.9453, allocations: 15.05 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.9454, allocations: 37.31 kB / 1.103 GB, free: 16.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.9454, allocations: 25.48 kB / 1.103 GB, free: 16.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-06/0.9454, allocations: 4 kB / 1.103 GB, free: 16.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001947/0.9456, allocations: 100.1 kB / 1.103 GB, free: 16.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9457, allocations: 4.75 kB / 1.103 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.493e-06/0.9457, allocations: 3.438 kB / 1.103 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9457, allocations: 1.344 kB / 1.103 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.9459, allocations: 23.14 kB / 1.103 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.001e-06/0.9459, allocations: 5.547 kB / 1.103 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.9459, allocations: 8.625 kB / 1.103 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.946, allocations: 3.312 kB / 1.103 GB, free: 16.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.000106/0.9461, allocations: 119.3 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.9461, allocations: 5.391 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.9461, allocations: 10.09 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-06/0.9462, allocations: 1 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-06/0.9462, allocations: 3.328 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9462, allocations: 3.953 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.9463, allocations: 168.6 kB / 1.104 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-06/0.9464, allocations: 1.281 kB / 1.104 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.9465, allocations: 28.58 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.496e-06/0.9465, allocations: 1.25 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.9466, allocations: 4.938 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.757e-06/0.9466, allocations: 0 / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-06/0.9466, allocations: 1.156 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.9468, allocations: 136 kB / 1.104 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.9469, allocations: 83.47 kB / 1.104 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.947, allocations: 4.188 kB / 1.104 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.9471, allocations: 1.781 kB / 1.104 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.9471, allocations: 10.84 kB / 1.104 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.9471, allocations: 6.141 kB / 1.104 GB, free: 16.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.9472, allocations: 78.59 kB / 1.104 GB, free: 15.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.14e-07/0.9472, allocations: 1.281 kB / 1.104 GB, free: 15.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002731/0.9475, allocations: 15.25 kB / 1.104 GB, free: 15.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001284/0.9476, allocations: 103.6 kB / 1.104 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.9478, allocations: 61.03 kB / 1.104 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.225e-06/0.9478, allocations: 4.094 kB / 1.104 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.9479, allocations: 23.45 kB / 1.104 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.9481, allocations: 4.312 kB / 1.104 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.9487, allocations: 396.2 kB / 1.105 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.9491, allocations: 0.687 MB / 1.105 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.9492, allocations: 10.91 kB / 1.105 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.9493, allocations: 12.31 kB / 1.105 GB, free: 14.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.024e-06/0.9493, allocations: 0 / 1.105 GB, free: 14.89 MB / 0.698 GB Notification: Performance of Templates: time 0.003191/0.9525, allocations: 0.5777 MB / 1.106 GB, free: 14.83 MB / 0.698 GB