Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006944/0.006944, 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.001314/0.001314, allocations: 186.3 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.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.6358/0.6358, allocations: 95.49 MB / 365.4 MB, free: 9.789 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.001464/0.001464, allocations: 72.69 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1951, allocations: 69.09 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.668/0.8632, allocations: 182.4 MB / 0.7493 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004069/0.8673, allocations: 3.175 MB / 0.7524 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.8675, allocations: 4 kB / 0.7524 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.8684, allocations: 254.5 kB / 0.7526 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007463/0.8692, allocations: 421.7 kB / 0.753 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.8726, allocations: 1.295 MB / 0.7543 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.8739, allocations: 1.161 MB / 0.7554 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.8741, allocations: 156.1 kB / 0.7556 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.8761, allocations: 0.8952 MB / 0.7565 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.8766, allocations: 422.6 kB / 0.7569 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.8767, allocations: 60 kB / 0.7569 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.8791, allocations: 1.294 MB / 0.7582 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.8794, allocations: 239.4 kB / 0.7584 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.8797, allocations: 318.9 kB / 0.7587 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.8817, allocations: 1.531 MB / 0.7602 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8817, allocations: 0 / 0.7602 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8817, allocations: 0 / 0.7602 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.8818, allocations: 0 / 0.7602 GB, free: 12.76 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.001807/0.8836, allocations: 0.9082 MB / 0.7611 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8836, allocations: 11.98 kB / 0.7611 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.884, allocations: 63.42 kB / 0.7612 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.8845, allocations: 354.9 kB / 0.7615 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.8846, allocations: 29 kB / 0.7615 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.8846, allocations: 40 kB / 0.7616 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.8855, allocations: 0.4904 MB / 0.762 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8856, allocations: 3.906 kB / 0.7621 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.8856, allocations: 20 kB / 0.7621 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.8857, allocations: 8 kB / 0.7621 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.8865, allocations: 0.5504 MB / 0.7626 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.8897, allocations: 2.117 MB / 0.7647 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.8904, allocations: 399.9 kB / 0.7651 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.8908, allocations: 215 kB / 0.7653 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/0.8914, allocations: 0.7003 MB / 0.766 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.8914, allocations: 38.94 kB / 0.766 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.8914, allocations: 7.875 kB / 0.766 GB, free: 6.344 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=46): time 0.004532/0.8959, allocations: 2.189 MB / 0.7681 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.896, allocations: 63.39 kB / 0.7682 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.8965, allocations: 327.3 kB / 0.7685 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.8966, allocations: 37.7 kB / 0.7685 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.8968, allocations: 208.3 kB / 0.7687 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.897, allocations: 157.8 kB / 0.7689 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.8972, allocations: 94.14 kB / 0.769 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.8975, allocations: 354.7 kB / 0.7693 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.8978, allocations: 181 kB / 0.7695 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.8982, allocations: 248 kB / 0.7697 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/0.899, allocations: 457.7 kB / 0.7702 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.899, allocations: 0 / 0.7702 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001027/0.9, allocations: 0.5714 MB / 0.7707 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.9001, allocations: 4 kB / 0.7707 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9001, allocations: 5.188 kB / 0.7707 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.9003, allocations: 45.69 kB / 0.7708 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.9008, allocations: 99.83 kB / 0.7709 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.9034, allocations: 2.824 MB / 0.7736 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.9037, allocations: 12 kB / 0.7736 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.9037, allocations: 20.14 kB / 0.7737 GB, free: 13.96 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (58): * Single equations (assignments): 56 * 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.0002426/0.904, allocations: 193.6 kB / 0.7738 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.9041, allocations: 43.53 kB / 0.7739 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.9052, allocations: 0.5754 MB / 0.7744 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9052, allocations: 4 kB / 0.7745 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.9052, allocations: 4 kB / 0.7745 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008145/0.906, allocations: 0.6775 MB / 0.7751 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.9078, allocations: 1.146 MB / 0.7762 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9079, allocations: 0 / 0.7762 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.9083, allocations: 91.83 kB / 0.7763 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.9088, allocations: 80.77 kB / 0.7764 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.9088, allocations: 24.03 kB / 0.7764 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004028/0.9092, allocations: 0.5563 MB / 0.777 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9093, allocations: 3.938 kB / 0.777 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.9105, allocations: 0.8086 MB / 0.7778 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.9108, allocations: 172.6 kB / 0.7779 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.9108, allocations: 12 kB / 0.7779 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.9112, allocations: 23.92 kB / 0.778 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.9113, allocations: 36.33 kB / 0.778 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.9114, allocations: 27.98 kB / 0.778 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002752/0.9116, allocations: 251 kB / 0.7783 GB, free: 9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9117, allocations: 3.938 kB / 0.7783 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008788/0.9125, allocations: 279.8 kB / 0.7785 GB, free: 8.723 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (48): * Single equations (assignments): 47 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006766/0.9132, allocations: 342.8 kB / 0.7789 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.9143, allocations: 0.6589 MB / 0.7795 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9143, allocations: 4.312 kB / 0.7795 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.9147, allocations: 238.4 kB / 0.7797 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.9161, allocations: 279.9 kB / 0.78 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.9184, allocations: 1.071 MB / 0.781 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.919, allocations: 0.8362 MB / 0.7819 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000494/0.9195, allocations: 122.8 kB / 0.782 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.9197, allocations: 55.36 kB / 0.782 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.9197, allocations: 0 / 0.782 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of Templates: time 0.02199/0.9417, allocations: 14.01 MB / 0.7957 GB, free: 7.121 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe 2>&1)