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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001024, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5941/0.5941, allocations: 95.57 MB / 365.9 MB, free: 10.37 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005147, allocations: 15.98 kB / 446.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.419/0.7114, allocations: 146.4 MB / 0.6479 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.7151, allocations: 2.319 MB / 0.6502 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.7158, allocations: 2.875 kB / 0.6502 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.7167, allocations: 200 kB / 0.6504 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008236/0.7175, allocations: 273.7 kB / 0.6507 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.7201, allocations: 0.6918 MB / 0.6513 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.7216, allocations: 0.6245 MB / 0.652 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.7218, allocations: 101.8 kB / 0.6521 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.7238, allocations: 0.6384 MB / 0.6527 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.7243, allocations: 278.9 kB / 0.6529 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.7244, allocations: 27.12 kB / 0.653 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.7261, allocations: 0.5744 MB / 0.6535 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.7264, allocations: 186.2 kB / 0.6537 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.7268, allocations: 130.8 kB / 0.6538 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.7282, allocations: 0.8571 MB / 0.6547 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7282, allocations: 0 / 0.6547 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.737e-06/0.7282, allocations: 3.094 kB / 0.6547 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.7283, allocations: 0 / 0.6547 GB, free: 17.48 MB / 0.4981 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.001495/0.7298, allocations: 0.7509 MB / 0.6554 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7298, allocations: 11.73 kB / 0.6554 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.7302, allocations: 64.14 kB / 0.6555 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.7308, allocations: 356.8 kB / 0.6558 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.7308, allocations: 32.66 kB / 0.6558 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.7309, allocations: 45.69 kB / 0.6559 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.7316, allocations: 479.6 kB / 0.6563 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.7317, allocations: 2.906 kB / 0.6563 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.7317, allocations: 22.22 kB / 0.6564 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.7317, allocations: 9.875 kB / 0.6564 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.7325, allocations: 0.543 MB / 0.6569 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.7355, allocations: 2.117 MB / 0.659 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.7362, allocations: 412.6 kB / 0.6594 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.7368, allocations: 0.6855 MB / 0.66 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.7368, allocations: 50.7 kB / 0.6601 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.686e-06/0.7368, allocations: 0 / 0.6601 GB, free: 14.57 MB / 0.4981 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.T 2: volume.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.004031/0.7409, allocations: 2.197 MB / 0.6622 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.7409, allocations: 56 kB / 0.6623 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.7412, allocations: 335.6 kB / 0.6626 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.7413, allocations: 37.48 kB / 0.6626 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.7414, allocations: 196.4 kB / 0.6628 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.7415, allocations: 164.5 kB / 0.663 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.7415, allocations: 9.188 kB / 0.663 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7417, allocations: 351 kB / 0.6633 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.7419, allocations: 179.4 kB / 0.6635 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.7422, allocations: 248 kB / 0.6637 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.7425, allocations: 221.5 kB / 0.664 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7425, allocations: 1.969 kB / 0.664 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007447/0.7432, allocations: 0.5607 MB / 0.6645 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7433, allocations: 5.188 kB / 0.6645 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7433, allocations: 3.094 kB / 0.6645 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.7434, allocations: 42.16 kB / 0.6645 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.7438, allocations: 107.7 kB / 0.6647 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.7457, allocations: 2.64 MB / 0.6672 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.7461, allocations: 39.36 kB / 0.6673 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.7462, allocations: 19.92 kB / 0.6673 GB, free: 10.29 MB / 0.4981 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 (58): * Single equations (assignments): 56 * 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.0002349/0.7464, allocations: 186.5 kB / 0.6675 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.7465, allocations: 38.97 kB / 0.6675 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.7475, allocations: 0.584 MB / 0.6681 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.7475, allocations: 6.125 kB / 0.6681 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.7475, allocations: 0 / 0.6681 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006887/0.7482, allocations: 0.668 MB / 0.6687 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.7498, allocations: 1.144 MB / 0.6698 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7498, allocations: 1.656 kB / 0.6698 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.7502, allocations: 90.67 kB / 0.6699 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/0.7507, allocations: 88.91 kB / 0.67 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.7507, allocations: 9.5 kB / 0.67 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003754/0.7511, allocations: 0.5684 MB / 0.6706 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7511, allocations: 0 / 0.6706 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.7522, allocations: 0.8408 MB / 0.6714 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.7525, allocations: 183.6 kB / 0.6716 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.7525, allocations: 17 kB / 0.6716 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.753, allocations: 36.73 kB / 0.6716 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.753, allocations: 32.5 kB / 0.6717 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.7531, allocations: 26.59 kB / 0.6717 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002407/0.7533, allocations: 247.6 kB / 0.6719 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7534, allocations: 0 / 0.6719 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008485/0.7542, allocations: 274.2 kB / 0.6722 GB, free: 8.324 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (volume.medium.Xi[1],volume.U,volume.m) * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007152/0.7549, allocations: 312.2 kB / 0.6725 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009763/0.7559, allocations: 0.6578 MB / 0.6731 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7559, allocations: 7.734 kB / 0.6731 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.7563, allocations: 239 kB / 0.6734 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7576, allocations: 278.5 kB / 0.6736 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.7595, allocations: 1.282 MB / 0.6749 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.7599, allocations: 0.851 MB / 0.6757 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005218/0.7604, allocations: 114.3 kB / 0.6758 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.7606, allocations: 54.36 kB / 0.6759 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.7606, allocations: 4 kB / 0.6759 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.02083/0.7814, allocations: 12.79 MB / 0.6884 GB, free: 0.9805 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: