Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.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.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005589/0.00559, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001091/0.001091, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.576/1.576, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.6461/0.6461, allocations: 95.48 MB / 365.4 MB, free: 9.684 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.001633/0.001633, allocations: 72.12 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1841, allocations: 69.1 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.6968/0.881, allocations: 183.5 MB / 0.7504 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005306/0.8864, allocations: 3.977 MB / 0.7543 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.8866, allocations: 7.938 kB / 0.7543 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008423/0.8875, allocations: 258.6 kB / 0.7545 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000785/0.8883, allocations: 417.6 kB / 0.7549 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00594/0.8943, allocations: 2.095 MB / 0.7569 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.896, allocations: 1.204 MB / 0.7581 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.8963, allocations: 146.2 kB / 0.7583 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.8994, allocations: 1.121 MB / 0.7594 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.9, allocations: 442.2 kB / 0.7598 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/0.9001, allocations: 64 kB / 0.7598 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/0.9051, allocations: 2.222 MB / 0.762 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.9054, allocations: 239.5 kB / 0.7622 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.9059, allocations: 338.7 kB / 0.7626 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.9103, allocations: 2.054 MB / 0.7646 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.9104, allocations: 4 kB / 0.7646 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9104, allocations: 0 / 0.7646 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.9104, allocations: 0 / 0.7646 GB, free: 8.273 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002226/0.9126, allocations: 1.014 MB / 0.7656 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.9127, allocations: 11.98 kB / 0.7656 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.9131, allocations: 67.42 kB / 0.7656 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.9137, allocations: 366.7 kB / 0.766 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.9137, allocations: 33 kB / 0.766 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.9138, allocations: 40 kB / 0.7661 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.9147, allocations: 0.5139 MB / 0.7666 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.9147, allocations: 3.984 kB / 0.7666 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.9148, allocations: 20 kB / 0.7666 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.9148, allocations: 12 kB / 0.7666 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.9157, allocations: 0.5972 MB / 0.7672 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.919, allocations: 2.156 MB / 0.7693 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.9202, allocations: 0.5587 MB / 0.7698 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.9206, allocations: 263.7 kB / 0.7701 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.9212, allocations: 0.6931 MB / 0.7708 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.9212, allocations: 39 kB / 0.7708 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 1.853e-06/0.9212, allocations: 4 kB / 0.7708 GB, free: 1.418 MB / 0.5762 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=54): time 0.00791/0.9292, allocations: 2.776 MB / 0.7735 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.9292, allocations: 59.84 kB / 0.7736 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.9297, allocations: 311 kB / 0.7739 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.9298, allocations: 37.7 kB / 0.7739 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.93, allocations: 196.3 kB / 0.7741 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.9301, allocations: 189.2 kB / 0.7743 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.9303, allocations: 102.2 kB / 0.7744 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.9305, allocations: 350.8 kB / 0.7747 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.9309, allocations: 197 kB / 0.7749 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.9313, allocations: 267.2 kB / 0.7751 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.9322, allocations: 0.4919 MB / 0.7756 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9322, allocations: 0 / 0.7756 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001068/0.9332, allocations: 0.6133 MB / 0.7762 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.9333, allocations: 12.16 kB / 0.7762 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9333, allocations: 0 / 0.7762 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.9335, allocations: 45.64 kB / 0.7763 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.934, allocations: 111.8 kB / 0.7764 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.9362, allocations: 2.833 MB / 0.7791 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.9366, allocations: 12 kB / 0.7792 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.9367, allocations: 19.98 kB / 0.7792 GB, free: 8.305 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (64): * Single equations (assignments): 62 * 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.000304/0.937, allocations: 189.8 kB / 0.7794 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.9371, allocations: 39.53 kB / 0.7794 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.9384, allocations: 0.7006 MB / 0.7801 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.9385, allocations: 4 kB / 0.7801 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.9385, allocations: 3.984 kB / 0.7801 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.9395, allocations: 0.7625 MB / 0.7808 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.9422, allocations: 1.378 MB / 0.7822 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.9422, allocations: 0 / 0.7822 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.9426, allocations: 103.8 kB / 0.7823 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.9441, allocations: 272.5 kB / 0.7825 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.9441, allocations: 12 kB / 0.7826 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006012/0.9447, allocations: 0.6577 MB / 0.7832 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9448, allocations: 3.938 kB / 0.7832 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.947, allocations: 1.056 MB / 0.7842 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.9473, allocations: 184.5 kB / 0.7844 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.9474, allocations: 12 kB / 0.7844 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.9478, allocations: 20.08 kB / 0.7844 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.9479, allocations: 44.47 kB / 0.7845 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.948, allocations: 23.98 kB / 0.7845 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002883/0.9483, allocations: 233.9 kB / 0.7847 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9483, allocations: 0 / 0.7847 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001036/0.9493, allocations: 307.8 kB / 0.785 GB, free: 2.086 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000797/0.9501, allocations: 382.7 kB / 0.7854 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.9513, allocations: 0.72 MB / 0.7861 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9513, allocations: 4 kB / 0.7861 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.9518, allocations: 279 kB / 0.7864 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.9533, allocations: 313.6 kB / 0.7867 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.9555, allocations: 1.087 MB / 0.7877 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.9559, allocations: 0.8486 MB / 0.7885 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005085/0.9564, allocations: 124.3 kB / 0.7887 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.9566, allocations: 51.42 kB / 0.7887 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.9566, allocations: 0 / 0.7887 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of Templates: time 0.02665/0.9832, allocations: 15.57 MB / 0.8039 GB, free: 14.73 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe 2>&1)