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.009711/0.009711, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001646/0.001646, allocations: 187.2 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.6266/0.6266, allocations: 95.49 MB / 365.4 MB, free: 9.699 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.001585/0.001585, allocations: 78.62 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1732, allocations: 69.09 MB / 0.5711 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated): time 0.556/0.7293, allocations: 182.3 MB / 0.7491 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.7333, allocations: 3.155 MB / 0.7522 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.7336, allocations: 8 kB / 0.7522 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.7344, allocations: 250.5 kB / 0.7524 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007594/0.7352, allocations: 417.7 kB / 0.7528 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.7388, allocations: 1.326 MB / 0.7541 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.7401, allocations: 1.154 MB / 0.7553 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.7404, allocations: 148.5 kB / 0.7554 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.7422, allocations: 0.8875 MB / 0.7563 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.7428, allocations: 422.6 kB / 0.7567 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.866e-05/0.7429, allocations: 60 kB / 0.7567 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.7451, allocations: 1.271 MB / 0.758 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.7453, allocations: 239.5 kB / 0.7582 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.7457, allocations: 306.9 kB / 0.7585 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.7476, allocations: 1.519 MB / 0.76 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7476, allocations: 0 / 0.76 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7476, allocations: 0 / 0.76 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.7476, allocations: 0 / 0.76 GB, free: 12.96 MB / 0.5762 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.001629/0.7493, allocations: 0.9005 MB / 0.7609 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.7493, allocations: 15.97 kB / 0.7609 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.7497, allocations: 60.31 kB / 0.7609 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.7501, allocations: 358.9 kB / 0.7613 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.7502, allocations: 32.94 kB / 0.7613 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.7503, allocations: 44 kB / 0.7613 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.7511, allocations: 0.5379 MB / 0.7619 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7511, allocations: 3.906 kB / 0.7619 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.7512, allocations: 16 kB / 0.7619 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.7512, allocations: 19.94 kB / 0.7619 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.7521, allocations: 0.5542 MB / 0.7625 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.7557, allocations: 2.536 MB / 0.7649 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.7563, allocations: 335.4 kB / 0.7652 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.7566, allocations: 181.3 kB / 0.7654 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008756/0.7575, allocations: 0.8782 MB / 0.7663 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7575, allocations: 38.84 kB / 0.7663 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.7575, allocations: 0 / 0.7663 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.00427/0.7618, allocations: 1.701 MB / 0.768 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.7619, allocations: 59.34 kB / 0.768 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.7623, allocations: 392.4 kB / 0.7684 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.7624, allocations: 33.7 kB / 0.7684 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.7625, allocations: 243.7 kB / 0.7687 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.7627, allocations: 142 kB / 0.7688 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.7628, allocations: 110.1 kB / 0.7689 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.763, allocations: 346.8 kB / 0.7692 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.7633, allocations: 185 kB / 0.7694 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.7637, allocations: 279.4 kB / 0.7697 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.7644, allocations: 485.6 kB / 0.7702 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7644, allocations: 0 / 0.7702 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009441/0.7653, allocations: 0.6103 MB / 0.7707 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7653, allocations: 6.781 kB / 0.7708 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7654, allocations: 8 kB / 0.7708 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.7655, allocations: 45.64 kB / 0.7708 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.7661, allocations: 127.9 kB / 0.7709 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.7682, allocations: 2.833 MB / 0.7737 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.7686, allocations: 12 kB / 0.7737 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.7687, allocations: 23.98 kB / 0.7737 GB, free: 13.82 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.7689, allocations: 193.7 kB / 0.7739 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.769, allocations: 47.47 kB / 0.774 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008853/0.7699, allocations: 0.4925 MB / 0.7744 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7699, allocations: 4 kB / 0.7744 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.7699, allocations: 0 / 0.7744 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006777/0.7706, allocations: 0.6232 MB / 0.7751 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.7729, allocations: 1.644 MB / 0.7767 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7729, allocations: 0 / 0.7767 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.7734, allocations: 100.8 kB / 0.7768 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.7734, allocations: 7.938 kB / 0.7768 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.7734, allocations: 16 kB / 0.7768 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.7735, allocations: 8.312 kB / 0.7768 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7735, allocations: 9.5 kB / 0.7768 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/0.7745, allocations: 0.7411 MB / 0.7775 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.7747, allocations: 180.4 kB / 0.7777 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.7748, allocations: 17.05 kB / 0.7777 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.7752, allocations: 19.98 kB / 0.7777 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.7753, allocations: 36.03 kB / 0.7778 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.7753, allocations: 27.97 kB / 0.7778 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002926/0.7756, allocations: 287.1 kB / 0.7781 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7756, allocations: 0 / 0.7781 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007698/0.7764, allocations: 275.8 kB / 0.7783 GB, free: 8.785 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005955/0.777, allocations: 333.6 kB / 0.7786 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009515/0.778, allocations: 0.6599 MB / 0.7793 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.778, allocations: 4 kB / 0.7793 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.7783, allocations: 184.9 kB / 0.7795 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7795, allocations: 276.1 kB / 0.7797 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.7814, allocations: 1.05 MB / 0.7808 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.7819, allocations: 0.8408 MB / 0.7816 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004257/0.7824, allocations: 131.8 kB / 0.7817 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7825, allocations: 51.42 kB / 0.7817 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7825, allocations: 0 / 0.7817 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of Templates: time 0.02178/0.8043, allocations: 13.48 MB / 0.7949 GB, free: 7.762 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile (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)