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.001461/0.001461, allocations: 186.9 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.661/0.661, allocations: 82.93 MB / 99.42 MB, free: 2.234 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 325.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000994/0.0009934, allocations: 91.44 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 12 kB / 471.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4845, allocations: 67.43 MB / 0.5263 GB, free: 55.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001254/0.4858, allocations: 0.9751 MB / 0.5273 GB, free: 54.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1604/0.6462, allocations: 124.3 MB / 0.6487 GB, free: 5.305 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.6463, allocations: 0 / 0.6487 GB, free: 5.305 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.6463, allocations: 3.984 kB / 0.6487 GB, free: 5.301 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.6464, allocations: 4 kB / 0.6487 GB, free: 5.297 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.6468, allocations: 79.67 kB / 0.6488 GB, free: 5.219 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.6469, allocations: 35.89 kB / 0.6488 GB, free: 5.184 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.6469, allocations: 0 / 0.6488 GB, free: 5.184 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.647, allocations: 11.98 kB / 0.6488 GB, free: 5.172 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.647, allocations: 19.92 kB / 0.6488 GB, free: 5.152 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.647, allocations: 0 / 0.6488 GB, free: 5.152 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.6474, allocations: 83.81 kB / 0.6489 GB, free: 5.07 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.6474, allocations: 4 kB / 0.6489 GB, free: 5.066 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.6474, allocations: 29.7 kB / 0.6489 GB, free: 5.031 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.6476, allocations: 46.06 kB / 0.649 GB, free: 4.988 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.051e-06/0.6476, allocations: 0 / 0.649 GB, free: 4.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.765e-06/0.6476, allocations: 4 kB / 0.649 GB, free: 4.984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.131e-06/0.6476, allocations: 0 / 0.649 GB, free: 4.984 MB / 474.7 MB 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.0004094/0.648, allocations: 343.2 kB / 0.6493 GB, free: 4.602 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6481, allocations: 12.03 kB / 0.6493 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.6483, allocations: 4 kB / 0.6493 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.6485, allocations: 174.9 kB / 0.6495 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.6485, allocations: 4 kB / 0.6495 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.6485, allocations: 4 kB / 0.6495 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6487, allocations: 61.62 kB / 0.6496 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.508e-06/0.6487, allocations: 0 / 0.6496 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6487, allocations: 0 / 0.6496 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-06/0.6487, allocations: 0 / 0.6496 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.6488, allocations: 15.98 kB / 0.6496 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.649, allocations: 161.7 kB / 0.6497 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6492, allocations: 58.5 kB / 0.6498 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6492, allocations: 0 / 0.6498 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.6492, allocations: 38.5 kB / 0.6498 GB, free: 3.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.869e-06/0.6492, allocations: 0 / 0.6498 GB, free: 3.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008867/0.6501, allocations: 382.2 kB / 0.6502 GB, free: 3.539 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.6502, allocations: 55.39 kB / 0.6502 GB, free: 3.473 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.6503, allocations: 93.95 kB / 0.6503 GB, free: 3.371 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.6503, allocations: 29.73 kB / 0.6504 GB, free: 3.336 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.6504, allocations: 84.14 kB / 0.6504 GB, free: 3.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.6505, allocations: 39.39 kB / 0.6505 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-06/0.6505, allocations: 0 / 0.6505 GB, free: 3.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6506, allocations: 318.8 kB / 0.6508 GB, free: 2.891 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.6507, allocations: 15.98 kB / 0.6508 GB, free: 2.875 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.6508, allocations: 38.58 kB / 0.6508 GB, free: 2.832 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.6509, allocations: 24 kB / 0.6509 GB, free: 2.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-06/0.6509, allocations: 0 / 0.6509 GB, free: 2.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002025/0.6511, allocations: 101.5 kB / 0.651 GB, free: 2.703 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6511, allocations: 7.938 kB / 0.651 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-06/0.6511, allocations: 0 / 0.651 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6512, allocations: 0 / 0.651 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.6513, allocations: 27.98 kB / 0.651 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.575e-06/0.6513, allocations: 3.938 kB / 0.651 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.6514, allocations: 4 kB / 0.651 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-06/0.6514, allocations: 0 / 0.651 GB, free: 2.66 MB / 474.7 MB 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.0001097/0.6515, allocations: 121.8 kB / 0.6511 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.6516, allocations: 7.953 kB / 0.6511 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.6516, allocations: 15.95 kB / 0.6511 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-06/0.6516, allocations: 0 / 0.6511 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-06/0.6516, allocations: 0 / 0.6511 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-06/0.6516, allocations: 3.984 kB / 0.6511 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.6518, allocations: 173.6 kB / 0.6513 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-06/0.6518, allocations: 0 / 0.6513 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.652, allocations: 20 kB / 0.6513 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.421e-06/0.652, allocations: 0 / 0.6513 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.6521, allocations: 11.95 kB / 0.6513 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.093e-06/0.6521, allocations: 3.984 kB / 0.6513 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-06/0.6521, allocations: 0 / 0.6513 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.6524, allocations: 132.9 kB / 0.6515 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.6525, allocations: 93.05 kB / 0.6516 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.6525, allocations: 0 / 0.6516 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.6526, allocations: 7.953 kB / 0.6516 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.6527, allocations: 7.984 kB / 0.6516 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.6527, allocations: 8 kB / 0.6516 GB, free: 1.973 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.511e-05/0.6527, allocations: 75.28 kB / 0.6516 GB, free: 1.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.6527, allocations: 0 / 0.6516 GB, free: 1.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.653, allocations: 16 kB / 0.6517 GB, free: 1.883 MB / 474.7 MB 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.0001183/0.6532, allocations: 99.25 kB / 0.6518 GB, free: 1.777 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.6533, allocations: 52.78 kB / 0.6518 GB, free: 1.727 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-06/0.6534, allocations: 0 / 0.6518 GB, free: 1.727 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.6534, allocations: 36.02 kB / 0.6518 GB, free: 1.691 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.6536, allocations: 8 kB / 0.6518 GB, free: 1.684 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.6544, allocations: 374.7 kB / 0.6522 GB, free: 1.289 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.6548, allocations: 0.6887 MB / 0.6529 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.6549, allocations: 16.59 kB / 0.6529 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.6549, allocations: 15.44 kB / 0.6529 GB, free: 0.543 MB / 474.7 MB Notification: Performance of SimCode: time 1.4e-06/0.6549, allocations: 3.938 kB / 0.6529 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of Templates: time 0.003148/0.6581, allocations: 0.5764 MB / 0.6535 GB, free: 15.96 MB / 490.7 MB