Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5979/0.5979, allocations: 94.69 MB / 107.3 MB, free: 5.176 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.001286/0.001286, allocations: 177.4 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.943/1.943, allocations: 170.5 MB / 324.5 MB, free: 3.996 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.001673/0.001673, allocations: 113.5 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.629e-05/5.631e-05, allocations: 3.938 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.647, allocations: 61.51 MB / 0.5054 GB, free: 49.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.82/18.46, allocations: 5.241 GB / 5.747 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/18.46, allocations: 77.28 kB / 5.747 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.107/19.57, allocations: 277.7 MB / 6.018 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.117e-06/19.57, allocations: 0 / 6.018 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.51e-05/19.57, allocations: 9.797 kB / 6.018 GB, free: 102.5 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.004424/19.58, allocations: 1.074 MB / 6.019 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/19.58, allocations: 11.72 kB / 6.019 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/19.58, allocations: 69.22 kB / 6.019 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/19.58, allocations: 342.5 kB / 6.019 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/19.58, allocations: 36.16 kB / 6.019 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/19.58, allocations: 38.64 kB / 6.019 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/19.58, allocations: 474.8 kB / 6.02 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/19.58, allocations: 2.75 kB / 6.02 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/19.58, allocations: 21.97 kB / 6.02 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/19.58, allocations: 9.844 kB / 6.02 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009231/19.58, allocations: 0.5369 MB / 6.02 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/19.58, allocations: 1.686 MB / 6.022 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/19.58, allocations: 396.7 kB / 6.023 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/19.58, allocations: 212 kB / 6.023 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/19.58, allocations: 182.6 kB / 6.023 GB, free: 99.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/19.58, allocations: 45.52 kB / 6.023 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 4.378e-06/19.58, allocations: 0 / 6.023 GB, free: 99.61 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=45): time 0.002631/19.59, allocations: 0.8289 MB / 6.024 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/19.59, allocations: 58.31 kB / 6.024 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/19.59, allocations: 303.8 kB / 6.024 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/19.59, allocations: 33.7 kB / 6.024 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/19.59, allocations: 205.7 kB / 6.024 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/19.59, allocations: 155.2 kB / 6.024 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/19.59, allocations: 4 kB / 6.024 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001495/19.59, allocations: 353.3 kB / 6.025 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/19.59, allocations: 166 kB / 6.025 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/19.59, allocations: 231.7 kB / 6.025 GB, free: 98.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/19.59, allocations: 213.1 kB / 6.025 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/19.59, allocations: 0 / 6.025 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009792/19.59, allocations: 0.5521 MB / 6.026 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/19.59, allocations: 10.66 kB / 6.026 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/19.59, allocations: 0 / 6.026 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/19.59, allocations: 40.78 kB / 6.026 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/19.59, allocations: 100.2 kB / 6.026 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/19.59, allocations: 2.633 MB / 6.029 GB, free: 95.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/19.59, allocations: 56.75 kB / 6.029 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/19.59, allocations: 19.5 kB / 6.029 GB, free: 95.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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.0001777/19.59, allocations: 127.9 kB / 6.029 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/19.59, allocations: 46.25 kB / 6.029 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/19.59, allocations: 0.571 MB / 6.029 GB, free: 94.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/19.59, allocations: 3.875 kB / 6.029 GB, free: 94.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/19.59, allocations: 0 / 6.029 GB, free: 94.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008747/19.6, allocations: 0.646 MB / 6.03 GB, free: 94.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/19.6, allocations: 1.077 MB / 6.031 GB, free: 93.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/19.6, allocations: 0 / 6.031 GB, free: 93.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/19.6, allocations: 88.48 kB / 6.031 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005876/19.6, allocations: 96.05 kB / 6.031 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/19.6, allocations: 15.72 kB / 6.031 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004325/19.6, allocations: 0.5593 MB / 6.032 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/19.6, allocations: 6.969 kB / 6.032 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/19.6, allocations: 0.8257 MB / 6.033 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/19.6, allocations: 190.8 kB / 6.033 GB, free: 92.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/19.6, allocations: 11.97 kB / 6.033 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/19.6, allocations: 29.45 kB / 6.033 GB, free: 92.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/19.6, allocations: 34.64 kB / 6.033 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/19.6, allocations: 29.41 kB / 6.033 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003447/19.6, allocations: 250.7 kB / 6.033 GB, free: 92.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/19.6, allocations: 0 / 6.033 GB, free: 92.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002089/19.6, allocations: 377 kB / 6.034 GB, free: 92.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (volume.U,volume.m,volume.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003/19.61, allocations: 1.063 MB / 6.035 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001303/19.61, allocations: 0.6317 MB / 6.035 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/19.61, allocations: 3.969 kB / 6.035 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/19.61, allocations: 223.2 kB / 6.035 GB, free: 91.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/19.61, allocations: 267.6 kB / 6.036 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/19.61, allocations: 0.8046 MB / 6.036 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/19.61, allocations: 0.8466 MB / 6.037 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005508/19.61, allocations: 110.9 kB / 6.037 GB, free: 90.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/19.61, allocations: 55.34 kB / 6.037 GB, free: 90.27 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/19.61, allocations: 4 kB / 6.037 GB, free: 90.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.04023/19.65, allocations: 27.2 MB / 6.064 GB, free: 74.53 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe 2>&1)