Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5556/0.5556, allocations: 95.62 MB / 110.6 MB, free: 9.359 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001491/0.001491, allocations: 170.2 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.519/1.519, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001691/0.001691, allocations: 111.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.54/14.69, allocations: 5.239 GB / 5.751 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/14.69, allocations: 82.38 kB / 5.751 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08145/14.77, allocations: 43.86 MB / 5.794 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/14.77, allocations: 7.938 kB / 5.794 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/14.77, allocations: 0 / 5.794 GB, free: 141.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003403/14.77, allocations: 347.3 kB / 5.794 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/14.77, allocations: 11.98 kB / 5.794 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/14.77, allocations: 4 kB / 5.794 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/14.77, allocations: 163 kB / 5.794 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/14.77, allocations: 8 kB / 5.794 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/14.77, allocations: 12.47 kB / 5.794 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/14.77, allocations: 64.25 kB / 5.794 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/14.77, allocations: 4 kB / 5.794 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/14.77, allocations: 4 kB / 5.794 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/14.77, allocations: 0 / 5.794 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/14.77, allocations: 11.92 kB / 5.794 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/14.77, allocations: 175.4 kB / 5.794 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/14.77, allocations: 75.84 kB / 5.794 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/14.77, allocations: 247.4 kB / 5.795 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/14.77, allocations: 34.56 kB / 5.795 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/14.77, allocations: 0 / 5.795 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000877/14.77, allocations: 0.6834 MB / 5.795 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/14.77, allocations: 106.8 kB / 5.795 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/14.77, allocations: 97.39 kB / 5.796 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/14.77, allocations: 33.7 kB / 5.796 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/14.77, allocations: 80.33 kB / 5.796 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/14.77, allocations: 31.47 kB / 5.796 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/14.77, allocations: 4 kB / 5.796 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/14.77, allocations: 318.8 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/14.77, allocations: 12 kB / 5.796 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/14.77, allocations: 53.27 kB / 5.796 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/14.77, allocations: 23.98 kB / 5.796 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/14.77, allocations: 3.938 kB / 5.796 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001195/14.77, allocations: 97.72 kB / 5.796 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/14.77, allocations: 8 kB / 5.796 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/14.77, allocations: 0 / 5.796 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/14.77, allocations: 7.984 kB / 5.796 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/14.77, allocations: 19.94 kB / 5.796 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/14.77, allocations: 0 / 5.796 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/14.77, allocations: 8 kB / 5.796 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/14.77, allocations: 7.984 kB / 5.796 GB, free: 138.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.421e-05/14.77, allocations: 121.7 kB / 5.796 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/14.77, allocations: 11.94 kB / 5.796 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/14.77, allocations: 93.09 kB / 5.796 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/14.77, allocations: 0 / 5.796 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/14.77, allocations: 0 / 5.796 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/14.77, allocations: 7.984 kB / 5.796 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/14.77, allocations: 165.6 kB / 5.797 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/14.77, allocations: 0 / 5.797 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/14.77, allocations: 23.92 kB / 5.797 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/14.77, allocations: 4 kB / 5.797 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/14.77, allocations: 4 kB / 5.797 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/14.77, allocations: 0 / 5.797 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/14.77, allocations: 3.938 kB / 5.797 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/14.77, allocations: 162 kB / 5.797 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/14.77, allocations: 89.14 kB / 5.797 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/14.77, allocations: 0 / 5.797 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/14.77, allocations: 4 kB / 5.797 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/14.77, allocations: 11.98 kB / 5.797 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/14.77, allocations: 7.953 kB / 5.797 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.605e-05/14.77, allocations: 75.28 kB / 5.797 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/14.77, allocations: 0 / 5.797 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004158/14.77, allocations: 84.02 kB / 5.797 GB, free: 137.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hAirSym,hSteSym,hLiqSym) * 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 (9): * Single equations (assignments): 9 * 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.0007525/14.77, allocations: 0.6136 MB / 5.798 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001319/14.77, allocations: 55.91 kB / 5.798 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/14.77, allocations: 0 / 5.798 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/14.77, allocations: 23.92 kB / 5.798 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/14.77, allocations: 4 kB / 5.798 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/14.77, allocations: 374.8 kB / 5.798 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/14.77, allocations: 0.6887 MB / 5.799 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.975e-05/14.77, allocations: 16 kB / 5.799 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/14.77, allocations: 11.44 kB / 5.799 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/14.77, allocations: 0 / 5.799 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.01116/14.79, allocations: 8.678 MB / 5.807 GB, free: 127.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe 2>&1)