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.5318/0.5318, allocations: 95.62 MB / 110.6 MB, free: 9.367 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.00107/0.00107, allocations: 169 kB / 134.2 MB, free: 2.262 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.485/1.485, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001662/0.001662, allocations: 115.3 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003993, allocations: 8 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.62/14.78, allocations: 5.241 GB / 5.753 GB, free: 179.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/14.78, allocations: 80.67 kB / 5.753 GB, free: 179.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8873/15.66, allocations: 278.1 MB / 6.025 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/15.66, allocations: 0 / 6.025 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.855e-05/15.66, allocations: 11.62 kB / 6.025 GB, free: 102.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.003178/15.67, allocations: 1.097 MB / 6.026 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/15.67, allocations: 10.73 kB / 6.026 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/15.67, allocations: 61.98 kB / 6.026 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/15.67, allocations: 353.1 kB / 6.027 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/15.67, allocations: 30.81 kB / 6.027 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/15.67, allocations: 43.06 kB / 6.027 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/15.67, allocations: 483.2 kB / 6.027 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/15.67, allocations: 11.06 kB / 6.027 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/15.67, allocations: 23.02 kB / 6.027 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/15.67, allocations: 10.97 kB / 6.027 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/15.67, allocations: 0.54 MB / 6.028 GB, free: 101 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/15.67, allocations: 1.688 MB / 6.029 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/15.67, allocations: 408.1 kB / 6.03 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/15.67, allocations: 185.1 kB / 6.03 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/15.67, allocations: 46.5 kB / 6.03 GB, free: 99.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.326e-06/15.67, allocations: 0 / 6.03 GB, free: 99.15 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.002608/15.68, allocations: 1.137 MB / 6.031 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/15.68, allocations: 64.64 kB / 6.031 GB, free: 98.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/15.68, allocations: 300.3 kB / 6.031 GB, free: 98.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/15.68, allocations: 37.67 kB / 6.031 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/15.68, allocations: 197.8 kB / 6.032 GB, free: 98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/15.68, allocations: 156 kB / 6.032 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/15.68, allocations: 7.875 kB / 6.032 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001001/15.68, allocations: 346.3 kB / 6.032 GB, free: 97.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/15.68, allocations: 175.9 kB / 6.032 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/15.68, allocations: 236.7 kB / 6.032 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/15.68, allocations: 210.8 kB / 6.033 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/15.68, allocations: 0 / 6.033 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007981/15.68, allocations: 0.5475 MB / 6.033 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/15.68, allocations: 10.89 kB / 6.033 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/15.68, allocations: 0 / 6.033 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/15.68, allocations: 43.05 kB / 6.033 GB, free: 96.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/15.68, allocations: 102.3 kB / 6.033 GB, free: 96.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/15.68, allocations: 2.645 MB / 6.036 GB, free: 94.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/15.68, allocations: 56.83 kB / 6.036 GB, free: 94.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/15.68, allocations: 24.27 kB / 6.036 GB, free: 94.05 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 () * Number of clocked 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.0003328/15.68, allocations: 184.4 kB / 6.036 GB, free: 93.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/15.68, allocations: 46.39 kB / 6.036 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/15.68, allocations: 0.5553 MB / 6.037 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/15.68, allocations: 3.281 kB / 6.037 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/15.68, allocations: 3.906 kB / 6.037 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006565/15.68, allocations: 0.6559 MB / 6.037 GB, free: 92.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/15.68, allocations: 1.069 MB / 6.038 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/15.68, allocations: 7.469 kB / 6.038 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/15.68, allocations: 91.48 kB / 6.039 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/15.69, allocations: 92.03 kB / 6.039 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/15.69, allocations: 9.594 kB / 6.039 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003063/15.69, allocations: 0.5665 MB / 6.039 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/15.69, allocations: 3.938 kB / 6.039 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/15.69, allocations: 0.8393 MB / 6.04 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/15.69, allocations: 185.4 kB / 6.04 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/15.69, allocations: 7.938 kB / 6.04 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/15.69, allocations: 39.28 kB / 6.04 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/15.69, allocations: 38.84 kB / 6.04 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/15.69, allocations: 27.61 kB / 6.04 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002734/15.69, allocations: 250.5 kB / 6.041 GB, free: 90.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/15.69, allocations: 0 / 6.041 GB, free: 90.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001737/15.69, allocations: 373 kB / 6.041 GB, free: 90.5 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 () * Number of clocked 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.002028/15.69, allocations: 1.059 MB / 6.042 GB, free: 89.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00119/15.69, allocations: 0.6463 MB / 6.043 GB, free: 88.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/15.69, allocations: 4.062 kB / 6.043 GB, free: 88.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/15.69, allocations: 235.8 kB / 6.043 GB, free: 88.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/15.69, allocations: 269.2 kB / 6.043 GB, free: 88.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/15.7, allocations: 1.245 MB / 6.044 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/15.7, allocations: 0.8441 MB / 6.045 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005382/15.7, allocations: 111.9 kB / 6.045 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/15.7, allocations: 51.42 kB / 6.045 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/15.7, allocations: 0 / 6.045 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of Templates: time 0.03208/15.73, allocations: 24.42 MB / 6.069 GB, free: 61.82 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)