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.009661/0.009661, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001344/0.001344, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.634/1.634, allocations: 205.1 MB / 222.6 MB, free: 4.297 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.7003/0.7003, allocations: 95.48 MB / 365.4 MB, free: 9.695 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.001507/0.001507, allocations: 76.09 kB / 0.5037 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1743, allocations: 69.09 MB / 0.5711 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.6715/0.8458, allocations: 183.5 MB / 0.7504 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005638/0.8515, allocations: 3.981 MB / 0.7543 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.8518, allocations: 4 kB / 0.7543 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.8527, allocations: 254.5 kB / 0.7545 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.8537, allocations: 421.6 kB / 0.7549 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006451/0.8602, allocations: 2.093 MB / 0.7569 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.8621, allocations: 1.212 MB / 0.7581 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.8624, allocations: 150.2 kB / 0.7583 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.8655, allocations: 1.118 MB / 0.7594 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.8661, allocations: 442.2 kB / 0.7598 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.8662, allocations: 60 kB / 0.7598 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/0.8715, allocations: 2.226 MB / 0.762 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.8719, allocations: 243.4 kB / 0.7623 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004342/0.8723, allocations: 326.8 kB / 0.7626 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.8765, allocations: 2.06 MB / 0.7646 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8765, allocations: 0 / 0.7646 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8765, allocations: 4 kB / 0.7646 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8765, allocations: 0 / 0.7646 GB, free: 8.258 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.002051/0.8786, allocations: 1.042 MB / 0.7656 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.8786, allocations: 11.98 kB / 0.7656 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.879, allocations: 67.66 kB / 0.7657 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.8795, allocations: 370.8 kB / 0.766 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.8796, allocations: 33 kB / 0.7661 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.8797, allocations: 44 kB / 0.7661 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.8805, allocations: 0.5062 MB / 0.7666 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.8806, allocations: 0 / 0.7666 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.8806, allocations: 16 kB / 0.7666 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.8806, allocations: 19.92 kB / 0.7666 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.8816, allocations: 0.6011 MB / 0.7672 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.8848, allocations: 2.156 MB / 0.7693 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.886, allocations: 0.5587 MB / 0.7699 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.8864, allocations: 263.9 kB / 0.7701 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/0.887, allocations: 0.6931 MB / 0.7708 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.887, allocations: 39 kB / 0.7708 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.196e-06/0.8871, allocations: 0 / 0.7708 GB, free: 1.371 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.007335/0.8944, allocations: 2.784 MB / 0.7736 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.8945, allocations: 63.84 kB / 0.7736 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.8948, allocations: 314.9 kB / 0.7739 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.8949, allocations: 41.64 kB / 0.774 GB, free: 14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.895, allocations: 188.8 kB / 0.7741 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.8952, allocations: 198.3 kB / 0.7743 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.8954, allocations: 102.2 kB / 0.7744 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8955, allocations: 350.8 kB / 0.7748 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.8959, allocations: 201 kB / 0.7749 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.8962, allocations: 271.2 kB / 0.7752 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.897, allocations: 499.7 kB / 0.7757 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8971, allocations: 0 / 0.7757 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001017/0.8981, allocations: 0.6136 MB / 0.7763 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8981, allocations: 5.094 kB / 0.7763 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8981, allocations: 4 kB / 0.7763 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.8983, allocations: 53.73 kB / 0.7763 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.8988, allocations: 107.9 kB / 0.7764 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.901, allocations: 2.837 MB / 0.7792 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.9014, allocations: 12 kB / 0.7792 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.9014, allocations: 16 kB / 0.7792 GB, free: 8.238 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.0002784/0.9017, allocations: 193.7 kB / 0.7794 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.9018, allocations: 39.77 kB / 0.7795 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.9031, allocations: 0.6955 MB / 0.7801 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9031, allocations: 8 kB / 0.7801 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9031, allocations: 3.984 kB / 0.7802 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009617/0.9041, allocations: 0.7665 MB / 0.7809 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.9067, allocations: 1.389 MB / 0.7823 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9067, allocations: 0 / 0.7823 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.9072, allocations: 95.83 kB / 0.7823 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.9086, allocations: 276.5 kB / 0.7826 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.9087, allocations: 15.98 kB / 0.7826 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/0.9093, allocations: 0.6655 MB / 0.7833 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9093, allocations: 0 / 0.7833 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.9115, allocations: 1.056 MB / 0.7843 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.9118, allocations: 184.8 kB / 0.7845 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.9118, allocations: 8 kB / 0.7845 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.9123, allocations: 27.98 kB / 0.7845 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.9124, allocations: 32.52 kB / 0.7846 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.9125, allocations: 27.97 kB / 0.7846 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002898/0.9128, allocations: 233.9 kB / 0.7848 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9128, allocations: 96 / 0.7848 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001098/0.9139, allocations: 311.3 kB / 0.7851 GB, free: 2 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.001077/0.915, allocations: 378.3 kB / 0.7855 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.9163, allocations: 0.7195 MB / 0.7862 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.9163, allocations: 8.312 kB / 0.7862 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.9169, allocations: 279 kB / 0.7864 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.9184, allocations: 308.4 kB / 0.7867 GB, free: 308 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.921, allocations: 1.104 MB / 0.7878 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.9217, allocations: 0.8447 MB / 0.7886 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005783/0.9223, allocations: 124.3 kB / 0.7888 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.9224, allocations: 51.42 kB / 0.7888 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.9224, allocations: 0 / 0.7888 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.02934/0.9518, allocations: 15.57 MB / 0.804 GB, free: 14.62 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)