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.7315/0.7315, allocations: 94.76 MB / 102.2 MB, free: 14.09 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.001145/0.001145, allocations: 178 kB / 125.6 MB, free: 7.918 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.802/1.802, allocations: 170.6 MB / 319.4 MB, free: 1.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001813/0.001813, allocations: 117 kB / 381.4 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.409e-05, allocations: 4 kB / 449.1 MB, free: 44.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1427, allocations: 61.52 MB / 0.4986 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.48/17.62, allocations: 5.238 GB / 5.737 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/17.62, allocations: 78.36 kB / 5.737 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.09211/17.71, allocations: 43.02 MB / 5.779 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/17.71, allocations: 0 / 5.779 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.178e-05/17.71, allocations: 0 / 5.779 GB, free: 136.7 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.0004973/17.71, allocations: 345.2 kB / 5.779 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.167e-05/17.71, allocations: 8.375 kB / 5.779 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/17.71, allocations: 3.938 kB / 5.779 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/17.71, allocations: 167 kB / 5.78 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/17.71, allocations: 0 / 5.78 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/17.71, allocations: 8.562 kB / 5.78 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.814e-05/17.71, allocations: 7.75 kB / 5.78 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/17.72, allocations: 68.42 kB / 5.78 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/17.72, allocations: 0 / 5.78 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/17.72, allocations: 0 / 5.78 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/17.72, allocations: 0 / 5.78 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/17.72, allocations: 159.9 kB / 5.78 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/17.72, allocations: 71.81 kB / 5.78 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/17.72, allocations: 18.64 kB / 5.78 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/17.72, allocations: 247.3 kB / 5.78 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/17.72, allocations: 38.56 kB / 5.78 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/17.72, allocations: 0 / 5.78 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.001428/17.72, allocations: 0.664 MB / 5.781 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/17.72, allocations: 102.8 kB / 5.781 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/17.72, allocations: 93 kB / 5.781 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/17.72, allocations: 25.7 kB / 5.781 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/17.72, allocations: 80.33 kB / 5.781 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/17.72, allocations: 35.45 kB / 5.781 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/17.72, allocations: 160 / 5.781 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001169/17.72, allocations: 326.8 kB / 5.781 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/17.72, allocations: 8 kB / 5.781 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/17.72, allocations: 49.16 kB / 5.781 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/17.72, allocations: 31.92 kB / 5.781 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/17.72, allocations: 0 / 5.781 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000241/17.72, allocations: 89.59 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/17.72, allocations: 5.719 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/17.72, allocations: 4 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/17.72, allocations: 3.938 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/17.72, allocations: 27.92 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/17.72, allocations: 4.188 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/17.72, allocations: 4 kB / 5.782 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/17.72, allocations: 4 kB / 5.782 GB, free: 133.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 () * 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 0.0001172/17.72, allocations: 104.9 kB / 5.782 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/17.72, allocations: 11.84 kB / 5.782 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/17.72, allocations: 106.6 kB / 5.782 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/17.72, allocations: 4 kB / 5.782 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/17.72, allocations: 0 / 5.782 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/17.72, allocations: 4 kB / 5.782 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/17.72, allocations: 142.2 kB / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/17.72, allocations: 3.953 kB / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/17.72, allocations: 23.98 kB / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/17.72, allocations: 4 kB / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/17.72, allocations: 0 / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/17.72, allocations: 0 / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/17.72, allocations: 4 kB / 5.782 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/17.72, allocations: 158 kB / 5.782 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/17.72, allocations: 89.14 kB / 5.782 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/17.72, allocations: 0 / 5.782 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/17.72, allocations: 4 kB / 5.782 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/17.72, allocations: 11.98 kB / 5.782 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/17.72, allocations: 4 kB / 5.782 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.693e-05/17.72, allocations: 79.22 kB / 5.782 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/17.72, allocations: 0 / 5.782 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003933/17.72, allocations: 63.92 kB / 5.782 GB, free: 132.7 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 () * 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.001256/17.72, allocations: 0.7162 MB / 5.783 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001506/17.72, allocations: 43.92 kB / 5.783 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/17.72, allocations: 0 / 5.783 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/17.72, allocations: 19.94 kB / 5.783 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/17.72, allocations: 4.312 kB / 5.783 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/17.72, allocations: 294.1 kB / 5.783 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/17.72, allocations: 0.6846 MB / 5.784 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.103e-05/17.72, allocations: 11.98 kB / 5.784 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/17.72, allocations: 11.44 kB / 5.784 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/17.72, allocations: 4 kB / 5.784 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.00896/17.73, allocations: 4.318 MB / 5.788 GB, free: 126.6 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)