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.5919/0.5919, allocations: 94.78 MB / 102.3 MB, free: 10.14 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.001529/0.001529, allocations: 180.8 kB / 125.6 MB, free: 11.87 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.64/1.64, allocations: 170.6 MB / 319.4 MB, free: 9.262 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.001875/0.001874, allocations: 109.3 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.331e-05, allocations: 4 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 61.52 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.16/15.35, allocations: 4.463 GB / 4.961 GB, free: 78.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004507/15.35, allocations: 81.2 kB / 4.961 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07101/15.42, allocations: 34.93 MB / 4.995 GB, free: 47.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/15.42, allocations: 0 / 4.995 GB, free: 47.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.916e-06/15.42, allocations: 0 / 4.995 GB, free: 47.65 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.0003508/15.42, allocations: 346.4 kB / 4.996 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/15.42, allocations: 12.03 kB / 4.996 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/15.42, allocations: 0 / 4.996 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/15.42, allocations: 163 kB / 4.996 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/15.42, allocations: 5.875 kB / 4.996 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/15.42, allocations: 10.5 kB / 4.996 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.208e-05/15.42, allocations: 7.984 kB / 4.996 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/15.42, allocations: 68.2 kB / 4.996 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/15.42, allocations: 0 / 4.996 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/15.42, allocations: 0 / 4.996 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/15.42, allocations: 4 kB / 4.996 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/15.42, allocations: 151.9 kB / 4.996 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/15.42, allocations: 63.86 kB / 4.996 GB, free: 46.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/15.42, allocations: 22.7 kB / 4.996 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/15.42, allocations: 243.3 kB / 4.996 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/15.42, allocations: 42.55 kB / 4.997 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/15.42, allocations: 0 / 4.997 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.001167/15.42, allocations: 0.6698 MB / 4.997 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/15.42, allocations: 110.8 kB / 4.997 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/15.42, allocations: 85 kB / 4.997 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/15.42, allocations: 25.7 kB / 4.997 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/15.42, allocations: 80.33 kB / 4.997 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/15.42, allocations: 35.45 kB / 4.998 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/15.42, allocations: 0 / 4.998 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001014/15.42, allocations: 330.6 kB / 4.998 GB, free: 44.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/15.42, allocations: 7.938 kB / 4.998 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/15.42, allocations: 53.14 kB / 4.998 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/15.42, allocations: 27.98 kB / 4.998 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/15.42, allocations: 0 / 4.998 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002002/15.42, allocations: 89.55 kB / 4.998 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/15.42, allocations: 8 kB / 4.998 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/15.42, allocations: 144 / 4.998 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/15.42, allocations: 7.984 kB / 4.998 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/15.42, allocations: 23.92 kB / 4.998 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/15.42, allocations: 4.188 kB / 4.998 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/15.42, allocations: 4 kB / 4.998 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/15.42, allocations: 7.984 kB / 4.998 GB, free: 44.53 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 7.995e-05/15.42, allocations: 108.9 kB / 4.998 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/15.42, allocations: 7.906 kB / 4.998 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/15.43, allocations: 93.86 kB / 4.998 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/15.43, allocations: 4 kB / 4.998 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/15.43, allocations: 3.938 kB / 4.998 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/15.43, allocations: 4 kB / 4.998 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/15.43, allocations: 138.2 kB / 4.998 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/15.43, allocations: 3.953 kB / 4.998 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/15.43, allocations: 23.98 kB / 4.998 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/15.43, allocations: 0 / 4.998 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/15.43, allocations: 0 / 4.998 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/15.43, allocations: 4 kB / 4.998 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/15.43, allocations: 3.984 kB / 4.998 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/15.43, allocations: 154.1 kB / 4.999 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/15.43, allocations: 89.14 kB / 4.999 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/15.43, allocations: 3.984 kB / 4.999 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/15.43, allocations: 4 kB / 4.999 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/15.43, allocations: 8 kB / 4.999 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/15.43, allocations: 15.92 kB / 4.999 GB, free: 43.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.319e-05/15.43, allocations: 75.28 kB / 4.999 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/15.43, allocations: 1.5 kB / 4.999 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003566/15.43, allocations: 59.92 kB / 4.999 GB, free: 43.63 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.001102/15.43, allocations: 0.6945 MB / 4.999 GB, free: 42.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001428/15.43, allocations: 43.92 kB / 5 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/15.43, allocations: 0 / 5 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/15.43, allocations: 19.94 kB / 5 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/15.43, allocations: 4 kB / 5 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/15.43, allocations: 278.4 kB / 5 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/15.43, allocations: 0.6884 MB / 5 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.843e-05/15.43, allocations: 15.92 kB / 5.001 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/15.43, allocations: 15.44 kB / 5.001 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/15.43, allocations: 0.75 kB / 5.001 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.008108/15.44, allocations: 4.195 MB / 5.005 GB, free: 37.67 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)