Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.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.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5539/0.5539, allocations: 95.61 MB / 110.6 MB, free: 9.371 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.00116/0.00116, allocations: 169.3 kB / 134.2 MB, free: 2.254 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.593/1.593, allocations: 170.7 MB / 328.4 MB, free: 12.26 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.001889/0.001889, allocations: 113.7 kB / 390.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003796, allocations: 8 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.07/14.23, allocations: 5.196 GB / 5.708 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/14.23, allocations: 83.95 kB / 5.708 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.192/15.42, allocations: 274.6 MB / 5.977 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.755e-06/15.42, allocations: 0 / 5.977 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.989e-05/15.42, allocations: 14.67 kB / 5.977 GB, free: 118.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003316/15.42, allocations: 0.9656 MB / 5.978 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/15.42, allocations: 15.36 kB / 5.978 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/15.42, allocations: 56.88 kB / 5.978 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/15.43, allocations: 351.4 kB / 5.978 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/15.43, allocations: 30.66 kB / 5.978 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/15.43, allocations: 41.78 kB / 5.978 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/15.43, allocations: 0.5287 MB / 5.979 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/15.43, allocations: 3.594 kB / 5.979 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/15.43, allocations: 16.03 kB / 5.979 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/15.43, allocations: 11.34 kB / 5.979 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/15.43, allocations: 0.5485 MB / 5.979 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/15.43, allocations: 2.017 MB / 5.981 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/15.43, allocations: 314.5 kB / 5.981 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/15.43, allocations: 183.3 kB / 5.982 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/15.43, allocations: 41.91 kB / 5.982 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/15.43, allocations: 0 / 5.982 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.005302/15.44, allocations: 1.812 MB / 5.983 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/15.44, allocations: 69.56 kB / 5.983 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/15.44, allocations: 357.3 kB / 5.984 GB, free: 116 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/15.44, allocations: 35.42 kB / 5.984 GB, free: 116 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/15.44, allocations: 234.5 kB / 5.984 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/15.44, allocations: 143.8 kB / 5.984 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/15.44, allocations: 11.75 kB / 5.984 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001253/15.44, allocations: 348.4 kB / 5.985 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/15.44, allocations: 185.8 kB / 5.985 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/15.44, allocations: 278.4 kB / 5.985 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/15.44, allocations: 223 kB / 5.985 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/15.44, allocations: 2.469 kB / 5.985 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001147/15.44, allocations: 0.6008 MB / 5.986 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/15.44, allocations: 7.625 kB / 5.986 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/15.44, allocations: 3.938 kB / 5.986 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/15.44, allocations: 53.56 kB / 5.986 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/15.44, allocations: 129.9 kB / 5.986 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/15.44, allocations: 2.64 MB / 5.989 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/15.44, allocations: 42.31 kB / 5.989 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/15.44, allocations: 22.23 kB / 5.989 GB, free: 112.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003516/15.44, allocations: 190.2 kB / 5.989 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/15.44, allocations: 43.08 kB / 5.989 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/15.45, allocations: 0.5078 MB / 5.989 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/15.45, allocations: 7.75 kB / 5.989 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/15.45, allocations: 0 / 5.989 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005658/15.45, allocations: 0.6145 MB / 5.99 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/15.45, allocations: 1.289 MB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/15.45, allocations: 3.906 kB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/15.45, allocations: 98.55 kB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/15.45, allocations: 2.875 kB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/15.45, allocations: 17.97 kB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/15.45, allocations: 3.906 kB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/15.45, allocations: 7.328 kB / 5.991 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/15.45, allocations: 0.8512 MB / 5.992 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/15.45, allocations: 186.4 kB / 5.992 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/15.45, allocations: 14.09 kB / 5.992 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/15.45, allocations: 34.5 kB / 5.992 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/15.45, allocations: 35.48 kB / 5.992 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.12e-05/15.45, allocations: 28.33 kB / 5.992 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003344/15.45, allocations: 293.1 kB / 5.993 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/15.45, allocations: 3.391 kB / 5.993 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001592/15.45, allocations: 368.6 kB / 5.993 GB, free: 111.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (volume.medium.Xi[1],volume.medium.T) * 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 (45): * Single equations (assignments): 45 * 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.002239/15.46, allocations: 1.051 MB / 5.994 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001031/15.46, allocations: 0.6514 MB / 5.995 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/15.46, allocations: 3.875 kB / 5.995 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/15.46, allocations: 184.1 kB / 5.995 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/15.46, allocations: 262.8 kB / 5.995 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/15.46, allocations: 1.243 MB / 5.996 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/15.46, allocations: 0.8491 MB / 5.997 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006817/15.46, allocations: 124.2 kB / 5.997 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/15.46, allocations: 53.7 kB / 5.997 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/15.46, allocations: 0 / 5.997 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.0358/15.5, allocations: 23.98 MB / 6.021 GB, free: 105.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe 2>&1)