Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.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.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5618/0.5618, allocations: 95.62 MB / 110.6 MB, free: 9.387 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.001122/0.001122, allocations: 167.6 kB / 134.2 MB, free: 2.266 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.479/1.479, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001655/0.001655, allocations: 107.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004338, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.77/12.93, allocations: 4.466 GB / 4.978 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/12.93, allocations: 79.95 kB / 4.978 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/14.34, allocations: 260.4 MB / 5.232 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.308e-06/14.34, allocations: 2.906 kB / 5.232 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.567e-05/14.34, allocations: 13.36 kB / 5.232 GB, free: 112.2 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004849/14.35, allocations: 1.117 MB / 5.234 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/14.35, allocations: 15.77 kB / 5.234 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/14.35, allocations: 57.92 kB / 5.234 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/14.35, allocations: 360 kB / 5.234 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/14.35, allocations: 32.16 kB / 5.234 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/14.35, allocations: 47.98 kB / 5.234 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/14.35, allocations: 0.4942 MB / 5.234 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/14.35, allocations: 0 / 5.234 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/14.35, allocations: 27.38 kB / 5.235 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/14.35, allocations: 11.06 kB / 5.235 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/14.35, allocations: 0.5955 MB / 5.235 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/14.36, allocations: 1.724 MB / 5.237 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/14.36, allocations: 0.5647 MB / 5.237 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/14.36, allocations: 190.9 kB / 5.238 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/14.36, allocations: 45.59 kB / 5.238 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/14.36, allocations: 0 / 5.238 GB, free: 110.5 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[1] 2: volume.medium.T 3: volume.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=53): time 0.005147/14.36, allocations: 1.474 MB / 5.239 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/14.36, allocations: 57.56 kB / 5.239 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/14.36, allocations: 285.8 kB / 5.239 GB, free: 110 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/14.36, allocations: 35.58 kB / 5.239 GB, free: 110 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/14.36, allocations: 186.4 kB / 5.24 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/14.36, allocations: 185 kB / 5.24 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/14.36, allocations: 11.25 kB / 5.24 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001423/14.36, allocations: 353.6 kB / 5.24 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/14.36, allocations: 192 kB / 5.24 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/14.36, allocations: 256.5 kB / 5.24 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/14.37, allocations: 231.1 kB / 5.241 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/14.37, allocations: 5.703 kB / 5.241 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001024/14.37, allocations: 0.5928 MB / 5.241 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/14.37, allocations: 3.594 kB / 5.241 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/14.37, allocations: 3.594 kB / 5.241 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/14.37, allocations: 49.7 kB / 5.241 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/14.37, allocations: 103.3 kB / 5.241 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/14.37, allocations: 2.641 MB / 5.244 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/14.37, allocations: 60.11 kB / 5.244 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/14.37, allocations: 27.52 kB / 5.244 GB, free: 106.8 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 (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.0003343/14.37, allocations: 189 kB / 5.244 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/14.37, allocations: 41.69 kB / 5.244 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/14.37, allocations: 0.6618 MB / 5.245 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/14.37, allocations: 7.75 kB / 5.245 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/14.37, allocations: 7.094 kB / 5.245 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009716/14.37, allocations: 0.7507 MB / 5.246 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/14.38, allocations: 1.354 MB / 5.247 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/14.38, allocations: 0 / 5.247 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/14.38, allocations: 97.73 kB / 5.247 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/14.38, allocations: 374.3 kB / 5.248 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/14.38, allocations: 15.81 kB / 5.248 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005886/14.38, allocations: 0.6668 MB / 5.248 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/14.38, allocations: 2.156 kB / 5.248 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/14.38, allocations: 1.113 MB / 5.249 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/14.38, allocations: 192.5 kB / 5.249 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/14.38, allocations: 11.31 kB / 5.249 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/14.38, allocations: 38.12 kB / 5.249 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/14.38, allocations: 31.48 kB / 5.25 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/14.38, allocations: 26.73 kB / 5.25 GB, free: 105 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003204/14.38, allocations: 242.2 kB / 5.25 GB, free: 105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/14.38, allocations: 0 / 5.25 GB, free: 105 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002256/14.39, allocations: 395.6 kB / 5.25 GB, free: 104.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.U,volume.m,volume.mXi[1]) * 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 (48): * Single equations (assignments): 47 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002976/14.39, allocations: 1.015 MB / 5.251 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001419/14.39, allocations: 0.6972 MB / 5.252 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/14.39, allocations: 2.531 kB / 5.252 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/14.39, allocations: 276.4 kB / 5.252 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/14.39, allocations: 292.1 kB / 5.252 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/14.39, allocations: 1.28 MB / 5.254 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/14.39, allocations: 0.854 MB / 5.254 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007278/14.4, allocations: 112.8 kB / 5.255 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/14.4, allocations: 52.91 kB / 5.255 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/14.4, allocations: 0 / 5.255 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.044/14.44, allocations: 24.65 MB / 5.279 GB, free: 102.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe 2>&1)