Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005818/0.005817, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.6067/0.6067, allocations: 95.49 MB / 365.4 MB, free: 9.781 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.001426/0.001426, allocations: 71.91 kB / 0.5037 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1818, allocations: 69.09 MB / 0.5711 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.703/0.8848, allocations: 184.7 MB / 0.7515 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006561/0.8914, allocations: 4.455 MB / 0.7559 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.8921, allocations: 7.938 kB / 0.7559 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.8932, allocations: 250.6 kB / 0.7561 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.8944, allocations: 429.6 kB / 0.7566 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.9007, allocations: 2.126 MB / 0.7586 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.9024, allocations: 1.185 MB / 0.7598 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.9028, allocations: 162.9 kB / 0.7599 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.9058, allocations: 1.059 MB / 0.761 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008969/0.9067, allocations: 434.6 kB / 0.7614 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.9069, allocations: 60 kB / 0.7614 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.9115, allocations: 2.22 MB / 0.7636 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.912, allocations: 239.4 kB / 0.7638 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007256/0.9127, allocations: 322.8 kB / 0.7642 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.9177, allocations: 2.104 MB / 0.7662 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9177, allocations: 0 / 0.7662 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9177, allocations: 0 / 0.7662 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.9178, allocations: 0 / 0.7662 GB, free: 6.691 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.002489/0.9203, allocations: 1.029 MB / 0.7672 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9203, allocations: 11.98 kB / 0.7672 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.9207, allocations: 63.42 kB / 0.7673 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/0.9214, allocations: 374.7 kB / 0.7676 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.9214, allocations: 29 kB / 0.7677 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.9215, allocations: 43.98 kB / 0.7677 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.9225, allocations: 0.5536 MB / 0.7683 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.9225, allocations: 0 / 0.7683 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.9226, allocations: 16 kB / 0.7683 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.9226, allocations: 15.98 kB / 0.7683 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/0.9236, allocations: 0.5804 MB / 0.7688 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.9276, allocations: 2.497 MB / 0.7713 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.9287, allocations: 450.9 kB / 0.7717 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.9291, allocations: 230.1 kB / 0.7719 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.9298, allocations: 0.6998 MB / 0.7726 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.9298, allocations: 50.48 kB / 0.7727 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.9299, allocations: 4 kB / 0.7727 GB, free: 15.56 MB / 0.5919 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.007855/0.9377, allocations: 2.519 MB / 0.7751 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.9378, allocations: 59.41 kB / 0.7752 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.9383, allocations: 384.3 kB / 0.7756 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.9384, allocations: 37.7 kB / 0.7756 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.9385, allocations: 219.9 kB / 0.7758 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.9387, allocations: 157.8 kB / 0.776 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.9389, allocations: 114.1 kB / 0.7761 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.939, allocations: 346.8 kB / 0.7764 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.9394, allocations: 189 kB / 0.7766 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.9398, allocations: 296.2 kB / 0.7769 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.9405, allocations: 0.4944 MB / 0.7773 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9405, allocations: 3.938 kB / 0.7773 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001096/0.9416, allocations: 0.6259 MB / 0.778 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.9417, allocations: 10.5 kB / 0.778 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.9417, allocations: 1.641 kB / 0.778 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.9418, allocations: 45.7 kB / 0.778 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.9424, allocations: 128.1 kB / 0.7781 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.9448, allocations: 2.834 MB / 0.7809 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.9452, allocations: 15.98 kB / 0.7809 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.9453, allocations: 20 kB / 0.7809 GB, free: 6.562 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (66): * Single equations (assignments): 64 * 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.0002528/0.9456, allocations: 197.6 kB / 0.7811 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.9457, allocations: 43.53 kB / 0.7812 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.9467, allocations: 0.5538 MB / 0.7817 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9468, allocations: 8 kB / 0.7817 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.9468, allocations: 0 / 0.7817 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008246/0.9476, allocations: 0.6455 MB / 0.7823 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.9501, allocations: 1.618 MB / 0.7839 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.9501, allocations: 4 kB / 0.7839 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.9511, allocations: 179.7 kB / 0.7841 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.9511, allocations: 4.5 kB / 0.7841 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.9512, allocations: 15.98 kB / 0.7841 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003585/0.9515, allocations: 0.5938 MB / 0.7847 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.9516, allocations: 9.156 kB / 0.7847 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.9528, allocations: 0.8136 MB / 0.7855 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.9531, allocations: 180.5 kB / 0.7857 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.9532, allocations: 12 kB / 0.7857 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.9537, allocations: 28.03 kB / 0.7857 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.9538, allocations: 39.83 kB / 0.7857 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.9538, allocations: 31.98 kB / 0.7858 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000328/0.9542, allocations: 275 kB / 0.786 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9542, allocations: 96 / 0.786 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001055/0.9552, allocations: 323.7 kB / 0.7863 GB, free: 0.668 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (volume.medium.Xi[1],volume.U) * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009581/0.9562, allocations: 410.6 kB / 0.7867 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.9574, allocations: 0.6863 MB / 0.7874 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.9574, allocations: 4 kB / 0.7874 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.9585, allocations: 300.8 kB / 0.7877 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.96, allocations: 286 kB / 0.788 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.962, allocations: 1.041 MB / 0.789 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.9624, allocations: 0.8439 MB / 0.7898 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.9629, allocations: 136.3 kB / 0.7899 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.9631, allocations: 51.42 kB / 0.79 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.9631, allocations: 0 / 0.79 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.02597/0.9891, allocations: 14.92 MB / 0.8046 GB, free: 13.96 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe 2>&1)