Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.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.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6296/0.6296, allocations: 94.7 MB / 107.3 MB, free: 5.168 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.001139/0.001139, allocations: 169.3 kB / 130.7 MB, free: 7.539 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.918/1.918, allocations: 170.5 MB / 324.5 MB, free: 3.988 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.001917/0.001917, allocations: 113.4 kB / 386.6 MB, free: 16.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.504e-05, allocations: 8 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5654, allocations: 61.5 MB / 0.5054 GB, free: 49.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.64/15.2, allocations: 4.463 GB / 4.969 GB, free: 75.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/15.2, allocations: 79.95 kB / 4.969 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06512/15.27, allocations: 35.57 MB / 5.003 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.745e-06/15.27, allocations: 0 / 5.003 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.645e-06/15.27, allocations: 0 / 5.003 GB, free: 39.84 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.000295/15.27, allocations: 354 kB / 5.004 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/15.27, allocations: 16.02 kB / 5.004 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/15.27, allocations: 0 / 5.004 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/15.27, allocations: 171 kB / 5.004 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/15.27, allocations: 0 / 5.004 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/15.27, allocations: 8.531 kB / 5.004 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/15.27, allocations: 64.27 kB / 5.004 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/15.27, allocations: 3.938 kB / 5.004 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/15.27, allocations: 0 / 5.004 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/15.27, allocations: 7.938 kB / 5.004 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/15.27, allocations: 11.98 kB / 5.004 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/15.27, allocations: 179.4 kB / 5.004 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/15.27, allocations: 63.83 kB / 5.004 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/15.27, allocations: 26.64 kB / 5.004 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/15.27, allocations: 247.2 kB / 5.005 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/15.27, allocations: 38.56 kB / 5.005 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/15.27, allocations: 0 / 5.005 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0008086/15.27, allocations: 0.6679 MB / 5.005 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/15.27, allocations: 106.8 kB / 5.005 GB, free: 37.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/15.27, allocations: 89 kB / 5.005 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/15.27, allocations: 33.92 kB / 5.005 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/15.27, allocations: 80.33 kB / 5.006 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/15.27, allocations: 39.44 kB / 5.006 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/15.27, allocations: 4 kB / 5.006 GB, free: 37.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/15.27, allocations: 314.8 kB / 5.006 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/15.27, allocations: 12 kB / 5.006 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/15.27, allocations: 57.14 kB / 5.006 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/15.27, allocations: 27.92 kB / 5.006 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/15.27, allocations: 1.875 kB / 5.006 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001201/15.27, allocations: 89.69 kB / 5.006 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/15.27, allocations: 4 kB / 5.006 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/15.27, allocations: 7.984 kB / 5.006 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/15.27, allocations: 0 / 5.006 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/15.27, allocations: 24 kB / 5.006 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/15.27, allocations: 3.938 kB / 5.006 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/15.27, allocations: 7.984 kB / 5.006 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/15.27, allocations: 4 kB / 5.006 GB, free: 36.65 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 6.203e-05/15.27, allocations: 112.7 kB / 5.006 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/15.27, allocations: 11.97 kB / 5.006 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/15.27, allocations: 93.19 kB / 5.006 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/15.27, allocations: 4 kB / 5.006 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/15.27, allocations: 0 / 5.006 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/15.27, allocations: 7.922 kB / 5.006 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/15.27, allocations: 165.6 kB / 5.006 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/15.27, allocations: 4 kB / 5.006 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/15.27, allocations: 19.98 kB / 5.006 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/15.27, allocations: 8 kB / 5.007 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/15.27, allocations: 4 kB / 5.007 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/15.27, allocations: 1.5 kB / 5.007 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/15.27, allocations: 0 / 5.007 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/15.27, allocations: 158.1 kB / 5.007 GB, free: 35.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/15.27, allocations: 85.14 kB / 5.007 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/15.27, allocations: 7.984 kB / 5.007 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/15.27, allocations: 4 kB / 5.007 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/15.27, allocations: 7.953 kB / 5.007 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/15.27, allocations: 11.98 kB / 5.007 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.017e-05/15.27, allocations: 75.28 kB / 5.007 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.473e-06/15.27, allocations: 0 / 5.007 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003826/15.27, allocations: 81.92 kB / 5.007 GB, free: 35.69 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.0007664/15.27, allocations: 0.5837 MB / 5.007 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001287/15.27, allocations: 47.92 kB / 5.008 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/15.27, allocations: 384 / 5.008 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/15.27, allocations: 27.94 kB / 5.008 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/15.27, allocations: 4 kB / 5.008 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/15.27, allocations: 298.4 kB / 5.008 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/15.27, allocations: 0.6848 MB / 5.009 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.304e-05/15.27, allocations: 11.92 kB / 5.009 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/15.27, allocations: 15.44 kB / 5.009 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/15.27, allocations: 4 kB / 5.009 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.01329/15.29, allocations: 10.1 MB / 5.018 GB, free: 23.89 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe 2>&1)