Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002533/0.002538, allocations: 357 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.428/1.428, allocations: 165.8 MB / 183.1 MB, free: 5.418 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.61/3.61, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001729/0.001729, allocations: 199 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.000466, allocations: 8 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.397, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.843/6.241, allocations: 2.05 GB / 2.859 GB, free: 47.44 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/6.241, allocations: 75.47 kB / 2.859 GB, free: 47.4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.09879/6.34, allocations: 30.03 MB / 2.888 GB, free: 22.08 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.284e-06/6.34, allocations: 0 / 2.888 GB, free: 22.08 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.053e-06/6.34, allocations: 4 kB / 2.888 GB, free: 22.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004479/6.34, allocations: 371.2 kB / 2.888 GB, free: 21.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/6.34, allocations: 15.97 kB / 2.888 GB, free: 21.65 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/6.341, allocations: 39.95 kB / 2.888 GB, free: 21.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.579e-05/6.341, allocations: 163 kB / 2.889 GB, free: 21.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/6.341, allocations: 7.953 kB / 2.889 GB, free: 21.4 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/6.341, allocations: 11.91 kB / 2.889 GB, free: 21.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/6.341, allocations: 81.58 kB / 2.889 GB, free: 21.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/6.341, allocations: 0 / 2.889 GB, free: 21.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/6.341, allocations: 4 kB / 2.889 GB, free: 21.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/6.341, allocations: 4 kB / 2.889 GB, free: 21.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/6.341, allocations: 39.89 kB / 2.889 GB, free: 21.26 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/6.342, allocations: 181.7 kB / 2.889 GB, free: 21.03 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/6.342, allocations: 90.53 kB / 2.889 GB, free: 20.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/6.342, allocations: 36.88 kB / 2.889 GB, free: 20.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/6.342, allocations: 178.2 kB / 2.889 GB, free: 20.68 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/6.342, allocations: 42.5 kB / 2.889 GB, free: 20.63 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/6.342, allocations: 0 / 2.889 GB, free: 20.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.001702/6.344, allocations: 0.5358 MB / 2.89 GB, free: 20.05 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/6.344, allocations: 55.34 kB / 2.89 GB, free: 19.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/6.344, allocations: 101.8 kB / 2.89 GB, free: 19.87 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/6.344, allocations: 33.7 kB / 2.89 GB, free: 19.83 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/6.344, allocations: 80.52 kB / 2.89 GB, free: 19.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/6.344, allocations: 63.02 kB / 2.89 GB, free: 19.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/6.344, allocations: 4 kB / 2.89 GB, free: 19.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/6.344, allocations: 322.8 kB / 2.89 GB, free: 19.36 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/6.344, allocations: 40.05 kB / 2.89 GB, free: 19.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/6.344, allocations: 76.02 kB / 2.891 GB, free: 19.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/6.345, allocations: 55.97 kB / 2.891 GB, free: 19.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/6.345, allocations: 0 / 2.891 GB, free: 19.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003043/6.345, allocations: 153.5 kB / 2.891 GB, free: 19.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/6.345, allocations: 4 kB / 2.891 GB, free: 19.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/6.345, allocations: 0 / 2.891 GB, free: 19.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/6.345, allocations: 4 kB / 2.891 GB, free: 19.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/6.345, allocations: 43.92 kB / 2.891 GB, free: 18.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/6.345, allocations: 0 / 2.891 GB, free: 18.97 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/6.345, allocations: 8 kB / 2.891 GB, free: 18.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/6.345, allocations: 8 kB / 2.891 GB, free: 18.95 MB / 0.573 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.888e-05/6.346, allocations: 121.7 kB / 2.891 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/6.346, allocations: 15.86 kB / 2.891 GB, free: 18.81 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/6.346, allocations: 16.44 kB / 2.891 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/6.346, allocations: 0 / 2.891 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/6.346, allocations: 0 / 2.891 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/6.346, allocations: 7.984 kB / 2.891 GB, free: 18.79 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/6.346, allocations: 197.6 kB / 2.891 GB, free: 18.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/6.346, allocations: 0 / 2.891 GB, free: 18.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/6.346, allocations: 35.98 kB / 2.891 GB, free: 18.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/6.346, allocations: 3.953 kB / 2.891 GB, free: 18.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/6.346, allocations: 8 kB / 2.891 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/6.346, allocations: 3.938 kB / 2.891 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/6.346, allocations: 0 / 2.891 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/6.347, allocations: 216.2 kB / 2.891 GB, free: 18.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/6.347, allocations: 85.09 kB / 2.892 GB, free: 18.17 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/6.347, allocations: 12.27 kB / 2.892 GB, free: 18.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/6.347, allocations: 0 / 2.892 GB, free: 18.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/6.347, allocations: 19.98 kB / 2.892 GB, free: 18.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/6.347, allocations: 4 kB / 2.892 GB, free: 18.13 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.591e-05/6.347, allocations: 79.27 kB / 2.892 GB, free: 18.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/6.347, allocations: 0 / 2.892 GB, free: 18.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004387/6.348, allocations: 67.98 kB / 2.892 GB, free: 17.99 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0007856/6.348, allocations: 0.5557 MB / 2.892 GB, free: 17.42 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002781/6.349, allocations: 103.8 kB / 2.892 GB, free: 17.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/6.349, allocations: 0 / 2.892 GB, free: 17.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/6.349, allocations: 55.91 kB / 2.892 GB, free: 17.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/6.349, allocations: 14.66 kB / 2.892 GB, free: 17.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/6.35, allocations: 0.6163 MB / 2.893 GB, free: 16.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/6.35, allocations: 0.7011 MB / 2.894 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002159/6.351, allocations: 24.58 kB / 2.894 GB, free: 15.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/6.351, allocations: 15.44 kB / 2.894 GB, free: 15.84 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/6.351, allocations: 4 kB / 2.894 GB, free: 15.83 MB / 0.573 GB Notification: Performance of Templates: time 0.01737/6.368, allocations: 8.133 MB / 2.902 GB, free: 7.691 MB / 0.573 GB