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.001085/0.001085, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007463/0.007464, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.679/1.679, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6248/0.6248, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.0005841/0.0005844, allocations: 12 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4049, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.6743/1.079, allocations: 180.5 MB / 0.682 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006216/1.086, allocations: 4.453 MB / 0.6863 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/1.086, allocations: 6.906 kB / 0.6863 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009607/1.087, allocations: 223.1 kB / 0.6865 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/1.089, allocations: 416.6 kB / 0.6869 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006726/1.095, allocations: 1.93 MB / 0.6888 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002295/1.098, allocations: 1.736 MB / 0.6905 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/1.098, allocations: 124.2 kB / 0.6906 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/1.101, allocations: 0.9441 MB / 0.6916 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/1.101, allocations: 446.7 kB / 0.692 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/1.102, allocations: 27.59 kB / 0.692 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/1.107, allocations: 2.228 MB / 0.6942 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003699/1.107, allocations: 199.1 kB / 0.6944 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005576/1.108, allocations: 317.5 kB / 0.6947 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007278/1.115, allocations: 2.136 MB / 0.6968 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.115, allocations: 2.812 kB / 0.6968 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.931e-06/1.115, allocations: 0 / 0.6968 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.115, allocations: 1.859 kB / 0.6968 GB, free: 6.418 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002416/1.118, allocations: 0.9172 MB / 0.6977 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.118, allocations: 14.42 kB / 0.6977 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004609/1.118, allocations: 60.14 kB / 0.6977 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/1.119, allocations: 352.1 kB / 0.6981 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/1.119, allocations: 32.59 kB / 0.6981 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.119, allocations: 45.22 kB / 0.6981 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/1.12, allocations: 0.5576 MB / 0.6987 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.12, allocations: 0 / 0.6987 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/1.12, allocations: 20.25 kB / 0.6987 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/1.12, allocations: 10.88 kB / 0.6987 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/1.121, allocations: 0.5801 MB / 0.6993 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/1.125, allocations: 2.501 MB / 0.7017 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.126, allocations: 473.4 kB / 0.7022 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/1.126, allocations: 219 kB / 0.7024 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/1.127, allocations: 0.703 MB / 0.7031 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.127, allocations: 37.41 kB / 0.7031 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 3.186e-06/1.127, allocations: 0 / 0.7031 GB, free: 2.426 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.00771/1.135, allocations: 2.607 MB / 0.7057 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.135, allocations: 60.53 kB / 0.7057 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/1.135, allocations: 368.9 kB / 0.7061 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/1.135, allocations: 38.61 kB / 0.7061 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/1.136, allocations: 226.7 kB / 0.7063 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.136, allocations: 158.5 kB / 0.7065 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/1.136, allocations: 48.55 kB / 0.7065 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.136, allocations: 345.5 kB / 0.7068 GB, free: 432 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/1.136, allocations: 194.7 kB / 0.707 GB, free: 400 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/1.137, allocations: 303.6 kB / 0.7073 GB, free: 256 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/1.137, allocations: 499 kB / 0.7078 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.137, allocations: 9.797 kB / 0.7078 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001013/1.138, allocations: 0.6165 MB / 0.7084 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.138, allocations: 6.094 kB / 0.7084 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.138, allocations: 2.594 kB / 0.7084 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/1.139, allocations: 56.16 kB / 0.7085 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/1.139, allocations: 117 kB / 0.7086 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.141, allocations: 2.636 MB / 0.7112 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/1.142, allocations: 46.62 kB / 0.7112 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/1.142, allocations: 24.78 kB / 0.7112 GB, free: 12.81 MB / 0.5137 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.0002748/1.142, allocations: 191.8 kB / 0.7114 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/1.142, allocations: 45.78 kB / 0.7115 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/1.143, allocations: 0.5686 MB / 0.712 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.143, allocations: 5.094 kB / 0.712 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/1.143, allocations: 0 / 0.712 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007828/1.144, allocations: 0.6397 MB / 0.7126 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/1.146, allocations: 1.597 MB / 0.7142 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.146, allocations: 2.5 kB / 0.7142 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/1.147, allocations: 183.5 kB / 0.7144 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/1.147, allocations: 5.031 kB / 0.7144 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/1.148, allocations: 17.86 kB / 0.7144 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003473/1.148, allocations: 0.5955 MB / 0.715 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.148, allocations: 6.875 kB / 0.715 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.149, allocations: 0.8201 MB / 0.7158 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/1.149, allocations: 188 kB / 0.716 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/1.149, allocations: 13.03 kB / 0.716 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/1.15, allocations: 40.75 kB / 0.716 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/1.15, allocations: 36.95 kB / 0.7161 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/1.15, allocations: 26.55 kB / 0.7161 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003141/1.15, allocations: 283.6 kB / 0.7163 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/1.15, allocations: 3 kB / 0.7164 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001203/1.152, allocations: 315.1 kB / 0.7167 GB, free: 8.723 MB / 0.5137 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.0007926/1.152, allocations: 402.9 kB / 0.717 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.154, allocations: 0.6747 MB / 0.7177 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.154, allocations: 2.906 kB / 0.7177 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.155, allocations: 309.8 kB / 0.718 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/1.156, allocations: 283.4 kB / 0.7183 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/1.158, allocations: 1.3 MB / 0.7195 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/1.159, allocations: 0.8406 MB / 0.7204 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006812/1.16, allocations: 126.2 kB / 0.7205 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/1.16, allocations: 51.42 kB / 0.7205 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/1.16, allocations: 4 kB / 0.7205 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of Templates: time 0.02655/1.186, allocations: 14.04 MB / 0.7342 GB, free: 7.91 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: