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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 100.2 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.001443/0.001443, allocations: 177.3 kB / 15.95 MB, free: 216 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.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.5667/0.5667, allocations: 95.58 MB / 366 MB, free: 10.48 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.0008997/0.0008998, allocations: 16 kB / 446.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3174, allocations: 70.33 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated): time 0.4062/0.7237, allocations: 144.4 MB / 0.646 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.7268, allocations: 2.7 MB / 0.6486 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.7272, allocations: 1.656 kB / 0.6486 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.7278, allocations: 198.3 kB / 0.6488 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007059/0.7285, allocations: 274.6 kB / 0.6491 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.7307, allocations: 0.724 MB / 0.6498 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008877/0.7316, allocations: 0.6173 MB / 0.6504 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.7319, allocations: 107.1 kB / 0.6505 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.7332, allocations: 0.5826 MB / 0.6511 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.7336, allocations: 275.5 kB / 0.6513 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.7337, allocations: 28.84 kB / 0.6514 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.7348, allocations: 0.5936 MB / 0.6519 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.735, allocations: 186.2 kB / 0.6521 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.7352, allocations: 131.3 kB / 0.6522 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009104/0.7361, allocations: 0.8563 MB / 0.6531 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.7361, allocations: 0 / 0.6531 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7361, allocations: 0.5 kB / 0.6531 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.7362, allocations: 0 / 0.6531 GB, free: 17.43 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.001354/0.7375, allocations: 0.7572 MB / 0.6538 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.7376, allocations: 12.8 kB / 0.6538 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.7379, allocations: 64.17 kB / 0.6539 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.7383, allocations: 341.5 kB / 0.6542 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7383, allocations: 31.16 kB / 0.6542 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.7384, allocations: 47.12 kB / 0.6543 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.7391, allocations: 0.5274 MB / 0.6548 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.7392, allocations: 4 kB / 0.6548 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.7392, allocations: 19.84 kB / 0.6548 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.7392, allocations: 9.188 kB / 0.6548 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.7399, allocations: 0.552 MB / 0.6554 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.7431, allocations: 2.544 MB / 0.6579 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.7437, allocations: 335.1 kB / 0.6582 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/0.7445, allocations: 0.8745 MB / 0.659 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7445, allocations: 37.25 kB / 0.6591 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.7445, allocations: 0 / 0.6591 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.003914/0.7484, allocations: 1.713 MB / 0.6607 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.7485, allocations: 54.72 kB / 0.6608 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.7489, allocations: 398.6 kB / 0.6612 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.7489, allocations: 40.78 kB / 0.6612 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.749, allocations: 231.9 kB / 0.6614 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.7491, allocations: 142.4 kB / 0.6616 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.7492, allocations: 11.28 kB / 0.6616 GB, free: 13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7493, allocations: 347.4 kB / 0.6619 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.7495, allocations: 187.6 kB / 0.6621 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.7498, allocations: 279.9 kB / 0.6624 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.7502, allocations: 231.7 kB / 0.6626 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7502, allocations: 3.312 kB / 0.6626 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007768/0.7509, allocations: 0.595 MB / 0.6632 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.751, allocations: 10.44 kB / 0.6632 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.751, allocations: 288 / 0.6632 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.983e-05/0.7511, allocations: 54.64 kB / 0.6632 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.7517, allocations: 129.3 kB / 0.6633 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.7534, allocations: 2.651 MB / 0.6659 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.7539, allocations: 39.78 kB / 0.666 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.754, allocations: 22.06 kB / 0.666 GB, free: 9.965 MB / 0.4981 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.0002554/0.7542, allocations: 195.1 kB / 0.6662 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.7543, allocations: 45.11 kB / 0.6662 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.7551, allocations: 0.5029 MB / 0.6667 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7551, allocations: 7.906 kB / 0.6667 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.7551, allocations: 0 / 0.6667 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005793/0.7557, allocations: 0.6192 MB / 0.6673 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.7578, allocations: 1.637 MB / 0.6689 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.7579, allocations: 7.344 kB / 0.6689 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.7583, allocations: 98.67 kB / 0.669 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.7583, allocations: 1.719 kB / 0.669 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.7584, allocations: 14.16 kB / 0.669 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.7584, allocations: 7.672 kB / 0.669 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7584, allocations: 9.297 kB / 0.6691 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.7592, allocations: 0.847 MB / 0.6699 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.7595, allocations: 184.5 kB / 0.6701 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.7596, allocations: 14.16 kB / 0.6701 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.7601, allocations: 36.77 kB / 0.6701 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.7601, allocations: 41.3 kB / 0.6701 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.7602, allocations: 27.91 kB / 0.6702 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002609/0.7604, allocations: 286.4 kB / 0.6704 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7604, allocations: 0 / 0.6704 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008597/0.7613, allocations: 272.6 kB / 0.6707 GB, free: 7.859 MB / 0.4981 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.0005998/0.7619, allocations: 322.6 kB / 0.671 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008604/0.7628, allocations: 0.6511 MB / 0.6717 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7628, allocations: 0 / 0.6717 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.763, allocations: 193 kB / 0.6718 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.7642, allocations: 258.5 kB / 0.6721 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.7659, allocations: 1.24 MB / 0.6733 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.7663, allocations: 0.8598 MB / 0.6741 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005588/0.7669, allocations: 125.8 kB / 0.6743 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.767, allocations: 49.22 kB / 0.6743 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.767, allocations: 0 / 0.6743 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.01747/0.7845, allocations: 12.33 MB / 0.6863 GB, free: 0.8789 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: