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.002548/0.002552, allocations: 357.8 kB / 16.58 MB, free: 5.57 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.389/1.389, allocations: 165.8 MB / 183.1 MB, free: 5.492 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.669/3.669, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 195 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004669, allocations: 12 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4144, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.22/13.63, allocations: 4.573 GB / 5.381 GB, free: 142.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/13.64, allocations: 86.78 kB / 5.381 GB, free: 142.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.113/13.75, allocations: 36.55 MB / 5.417 GB, free: 123.4 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.084e-06/13.75, allocations: 0 / 5.417 GB, free: 123.4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.55e-06/13.75, allocations: 0 / 5.417 GB, free: 123.4 MB / 0.573 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.0003477/13.75, allocations: 347 kB / 5.417 GB, free: 123 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/13.75, allocations: 12.03 kB / 5.417 GB, free: 123 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/13.75, allocations: 11.89 kB / 5.417 GB, free: 123 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/13.75, allocations: 175 kB / 5.418 GB, free: 122.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/13.75, allocations: 7.297 kB / 5.418 GB, free: 122.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/13.75, allocations: 4 kB / 5.418 GB, free: 122.8 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/13.75, allocations: 53.05 kB / 5.418 GB, free: 122.7 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/13.75, allocations: 0 / 5.418 GB, free: 122.7 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/13.75, allocations: 0 / 5.418 GB, free: 122.7 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/13.75, allocations: 0 / 5.418 GB, free: 122.7 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.885e-05/13.75, allocations: 19.23 kB / 5.418 GB, free: 122.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/13.75, allocations: 168.9 kB / 5.418 GB, free: 122.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/13.75, allocations: 57.25 kB / 5.418 GB, free: 122.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/13.75, allocations: 16.34 kB / 5.418 GB, free: 122.4 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/13.75, allocations: 0 / 5.418 GB, free: 122.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/13.75, allocations: 42.06 kB / 5.418 GB, free: 122.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/13.75, allocations: 0 / 5.418 GB, free: 122.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0008177/13.75, allocations: 366.5 kB / 5.418 GB, free: 122 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/13.75, allocations: 51.41 kB / 5.418 GB, free: 121.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/13.75, allocations: 93.84 kB / 5.418 GB, free: 121.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/13.75, allocations: 37.08 kB / 5.418 GB, free: 121.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/13.75, allocations: 80.14 kB / 5.419 GB, free: 121.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/13.75, allocations: 34.97 kB / 5.419 GB, free: 121.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/13.75, allocations: 3.562 kB / 5.419 GB, free: 121.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/13.75, allocations: 326.5 kB / 5.419 GB, free: 121.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/13.75, allocations: 19.73 kB / 5.419 GB, free: 121.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/13.75, allocations: 36.89 kB / 5.419 GB, free: 121.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.211e-05/13.75, allocations: 31.58 kB / 5.419 GB, free: 121.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/13.75, allocations: 0 / 5.419 GB, free: 121.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001662/13.75, allocations: 91.34 kB / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/13.75, allocations: 10.66 kB / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/13.75, allocations: 4 kB / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/13.75, allocations: 0 / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/13.75, allocations: 27.98 kB / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/13.75, allocations: 3.938 kB / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/13.75, allocations: 3.375 kB / 5.419 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/13.75, allocations: 4 kB / 5.419 GB, free: 121.2 MB / 0.573 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 6.981e-05/13.75, allocations: 121.5 kB / 5.419 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/13.75, allocations: 4 kB / 5.419 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/13.75, allocations: 11.22 kB / 5.419 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/13.75, allocations: 0 / 5.419 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/13.75, allocations: 0 / 5.419 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/13.75, allocations: 7.984 kB / 5.419 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/13.75, allocations: 176.2 kB / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/13.75, allocations: 0 / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/13.75, allocations: 19.98 kB / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/13.75, allocations: 4 kB / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/13.75, allocations: 0 / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/13.75, allocations: 0 / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/13.75, allocations: 0 / 5.419 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/13.75, allocations: 148.4 kB / 5.42 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/13.75, allocations: 84.33 kB / 5.42 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/13.75, allocations: 4 kB / 5.42 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/13.75, allocations: 11.41 kB / 5.42 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/13.75, allocations: 4 kB / 5.42 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/13.75, allocations: 4 kB / 5.42 GB, free: 120.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.013e-05/13.75, allocations: 75.28 kB / 5.42 GB, free: 120.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/13.75, allocations: 0 / 5.42 GB, free: 120.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003965/13.75, allocations: 57.61 kB / 5.42 GB, free: 120.4 MB / 0.573 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.0007523/13.75, allocations: 0.5604 MB / 5.42 GB, free: 119.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001618/13.75, allocations: 62.34 kB / 5.42 GB, free: 119.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/13.75, allocations: 0 / 5.42 GB, free: 119.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/13.75, allocations: 35.48 kB / 5.42 GB, free: 119.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/13.75, allocations: 7.391 kB / 5.42 GB, free: 119.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/13.76, allocations: 381.3 kB / 5.421 GB, free: 119.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/13.76, allocations: 0.6965 MB / 5.422 GB, free: 118.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001063/13.76, allocations: 8.672 kB / 5.422 GB, free: 118.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/13.76, allocations: 11.44 kB / 5.422 GB, free: 118.7 MB / 0.573 GB Notification: Performance of SimCode: time 8.61e-07/13.76, allocations: 0 / 5.422 GB, free: 118.7 MB / 0.573 GB Notification: Performance of Templates: time 0.01651/13.77, allocations: 8.048 MB / 5.429 GB, free: 110.6 MB / 0.573 GB