Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002386/0.002386, allocations: 356.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.271/1.271, allocations: 165.8 MB / 182.5 MB, free: 5.902 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.257/4.257, allocations: 410.7 MB / 0.5995 GB, free: 2.172 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001792/0.001792, allocations: 192 kB / 0.6662 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004553, allocations: 12 kB / 0.7423 GB, free: 28 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4162, allocations: 67.44 MB / 0.8081 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00134/0.4175, allocations: 0.9802 MB / 0.8091 GB, free: 245 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.1489/0.5664, allocations: 133.4 MB / 0.9393 GB, free: 123 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.5666, allocations: 0 / 0.9393 GB, free: 123 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.5666, allocations: 3.938 kB / 0.9393 GB, free: 123 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.5667, allocations: 11.17 kB / 0.9394 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.5673, allocations: 79.58 kB / 0.9394 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.5674, allocations: 27.91 kB / 0.9395 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.5675, allocations: 4 kB / 0.9395 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.5676, allocations: 15.92 kB / 0.9395 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.5677, allocations: 11.98 kB / 0.9395 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.5677, allocations: 0 / 0.9395 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.5681, allocations: 71.77 kB / 0.9396 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.5682, allocations: 19.91 kB / 0.9396 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.5682, allocations: 29.7 kB / 0.9396 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.5684, allocations: 42.45 kB / 0.9396 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5685, allocations: 4 kB / 0.9396 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5685, allocations: 0 / 0.9396 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.5685, allocations: 0 / 0.9396 GB, free: 122.6 MB / 0.5886 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.0004637/0.569, allocations: 339.9 kB / 0.94 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5691, allocations: 8.031 kB / 0.94 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.5695, allocations: 11.98 kB / 0.94 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5696, allocations: 171 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.5697, allocations: 4 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.5698, allocations: 11.94 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.57, allocations: 57.56 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.57, allocations: 3.188 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.57, allocations: 4 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5701, allocations: 2.531 kB / 0.9402 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.5702, allocations: 11.98 kB / 0.9402 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.5704, allocations: 165.7 kB / 0.9404 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5706, allocations: 46.56 kB / 0.9404 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.5707, allocations: 24.78 kB / 0.9405 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.5707, allocations: 0 / 0.9405 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5708, allocations: 38.52 kB / 0.9405 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.702e-06/0.5708, allocations: 0 / 0.9405 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001274/0.5721, allocations: 368.7 kB / 0.9409 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5722, allocations: 55.41 kB / 0.9409 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.5723, allocations: 93.84 kB / 0.941 GB, free: 121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5723, allocations: 32.8 kB / 0.941 GB, free: 121 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.5724, allocations: 80.14 kB / 0.9411 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.5724, allocations: 35.47 kB / 0.9411 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.5725, allocations: 4 kB / 0.9411 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.5726, allocations: 326.9 kB / 0.9415 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.5727, allocations: 19.98 kB / 0.9415 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.5728, allocations: 37.64 kB / 0.9415 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.5729, allocations: 24 kB / 0.9415 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5729, allocations: 0 / 0.9415 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003265/0.5733, allocations: 100.8 kB / 0.9416 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5733, allocations: 4 kB / 0.9416 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.227e-06/0.5734, allocations: 4 kB / 0.9416 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5734, allocations: 4 kB / 0.9416 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.5737, allocations: 27.92 kB / 0.9417 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.925e-06/0.5737, allocations: 0 / 0.9417 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.5738, allocations: 4 kB / 0.9417 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.5738, allocations: 4 kB / 0.9417 GB, free: 120.3 MB / 0.5886 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.0001091/0.574, allocations: 115.9 kB / 0.9418 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.574, allocations: 3.953 kB / 0.9418 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.5741, allocations: 11.97 kB / 0.9418 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-06/0.5741, allocations: 4 kB / 0.9418 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5741, allocations: 4 kB / 0.9418 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.565e-06/0.5742, allocations: 7.922 kB / 0.9418 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.5744, allocations: 169.7 kB / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5744, allocations: 0 / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.5747, allocations: 19.98 kB / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.023e-06/0.5747, allocations: 0 / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.5748, allocations: 7.953 kB / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.282e-06/0.5748, allocations: 0 / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.014e-06/0.5748, allocations: 2.812 kB / 0.942 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.5752, allocations: 137.8 kB / 0.9421 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.5753, allocations: 86.66 kB / 0.9422 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.5754, allocations: 11.94 kB / 0.9422 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.5756, allocations: 11.64 kB / 0.9422 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.5756, allocations: 4 kB / 0.9422 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.5757, allocations: 8 kB / 0.9423 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.5757, allocations: 75.28 kB / 0.9423 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.121e-06/0.5758, allocations: 0 / 0.9423 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005925/0.5764, allocations: 16.09 kB / 0.9423 GB, free: 119.5 MB / 0.5886 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.0001302/0.5765, allocations: 103.2 kB / 0.9424 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.5768, allocations: 59.86 kB / 0.9425 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.5768, allocations: 0 / 0.9425 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.5769, allocations: 30.5 kB / 0.9425 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.5774, allocations: 8 kB / 0.9425 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5785, allocations: 372.7 kB / 0.9429 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.5787, allocations: 0.6926 MB / 0.9436 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000196/0.5789, allocations: 8.672 kB / 0.9436 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.579, allocations: 11.44 kB / 0.9436 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.816e-06/0.579, allocations: 4 kB / 0.9436 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.00512/0.5842, allocations: 0.591 MB / 0.9442 GB, free: 117.7 MB / 0.5886 GB