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.008762/0.008762, allocations: 101.1 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.001701/0.001701, allocations: 190.6 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.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.64/0.64, allocations: 95.48 MB / 365.4 MB, free: 9.793 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.001564/0.001564, allocations: 70.09 kB / 0.5037 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1869, allocations: 69.1 MB / 0.5711 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.6909/0.8778, allocations: 182.4 MB / 0.7493 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004893/0.8828, allocations: 3.175 MB / 0.7524 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.8831, allocations: 4 kB / 0.7524 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.8841, allocations: 254.5 kB / 0.7526 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009328/0.8851, allocations: 417.7 kB / 0.753 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.8891, allocations: 1.305 MB / 0.7543 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.8907, allocations: 1.157 MB / 0.7554 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.891, allocations: 144.1 kB / 0.7556 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.8935, allocations: 0.8952 MB / 0.7564 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.8942, allocations: 418.6 kB / 0.7568 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.802e-05/0.8943, allocations: 60 kB / 0.7569 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.8975, allocations: 1.302 MB / 0.7582 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.8978, allocations: 227.5 kB / 0.7584 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.8982, allocations: 318.8 kB / 0.7587 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.9008, allocations: 1.527 MB / 0.7602 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.9008, allocations: 0 / 0.7602 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9008, allocations: 3.938 kB / 0.7602 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.9009, allocations: 4 kB / 0.7602 GB, free: 12.73 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.001827/0.9027, allocations: 0.9043 MB / 0.7611 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9028, allocations: 11.98 kB / 0.7611 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.9031, allocations: 59.44 kB / 0.7611 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.9036, allocations: 362.8 kB / 0.7615 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.9037, allocations: 33 kB / 0.7615 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.9038, allocations: 40 kB / 0.7616 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.9046, allocations: 0.4905 MB / 0.762 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.9046, allocations: 3.906 kB / 0.762 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.9047, allocations: 16 kB / 0.7621 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9047, allocations: 12 kB / 0.7621 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.9056, allocations: 0.5504 MB / 0.7626 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.909, allocations: 2.117 MB / 0.7647 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.9098, allocations: 403.9 kB / 0.7651 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.9101, allocations: 218.8 kB / 0.7653 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00059/0.9107, allocations: 0.6964 MB / 0.7659 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.9108, allocations: 38.94 kB / 0.766 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.9108, allocations: 0 / 0.766 GB, free: 6.316 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.004768/0.9155, allocations: 2.193 MB / 0.7681 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.9156, allocations: 55.41 kB / 0.7682 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.9161, allocations: 331.3 kB / 0.7685 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.9161, allocations: 41.7 kB / 0.7685 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.9163, allocations: 204.3 kB / 0.7687 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.9164, allocations: 153.8 kB / 0.7689 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.9166, allocations: 98.14 kB / 0.769 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.9168, allocations: 350.7 kB / 0.7693 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.9171, allocations: 181 kB / 0.7695 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.9175, allocations: 251.9 kB / 0.7697 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.9182, allocations: 453.7 kB / 0.7702 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9183, allocations: 7.938 kB / 0.7702 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001053/0.9193, allocations: 0.5674 MB / 0.7707 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.9194, allocations: 8 kB / 0.7707 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.9194, allocations: 2.75 kB / 0.7707 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.9195, allocations: 45.69 kB / 0.7708 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.92, allocations: 96.05 kB / 0.7709 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.9227, allocations: 2.828 MB / 0.7736 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.9231, allocations: 16.06 kB / 0.7736 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.9232, allocations: 19.98 kB / 0.7737 GB, free: 13.93 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.00029/0.9235, allocations: 189.6 kB / 0.7738 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.9236, allocations: 39.53 kB / 0.7739 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.9247, allocations: 0.5904 MB / 0.7744 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.9247, allocations: 4 kB / 0.7745 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.9247, allocations: 0 / 0.7745 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008718/0.9256, allocations: 0.6737 MB / 0.7751 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.9274, allocations: 1.149 MB / 0.7762 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.9274, allocations: 3.984 kB / 0.7762 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.9279, allocations: 91.89 kB / 0.7763 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006085/0.9285, allocations: 84.81 kB / 0.7764 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.9286, allocations: 15.98 kB / 0.7764 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005003/0.9291, allocations: 0.5524 MB / 0.777 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.9291, allocations: 7.969 kB / 0.777 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.931, allocations: 0.8125 MB / 0.7778 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.9313, allocations: 172.6 kB / 0.7779 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.9315, allocations: 12 kB / 0.7779 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.932, allocations: 23.92 kB / 0.778 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.9321, allocations: 28.39 kB / 0.778 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.9322, allocations: 27.98 kB / 0.778 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000417/0.9326, allocations: 251 kB / 0.7783 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9326, allocations: 0 / 0.7783 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001306/0.9339, allocations: 279.8 kB / 0.7785 GB, free: 8.699 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.0008724/0.9348, allocations: 336.5 kB / 0.7788 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.9364, allocations: 0.6669 MB / 0.7795 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9364, allocations: 0 / 0.7795 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.937, allocations: 246.3 kB / 0.7797 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.9391, allocations: 279.2 kB / 0.78 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.9419, allocations: 1.071 MB / 0.781 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.9426, allocations: 0.8401 MB / 0.7819 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006737/0.9432, allocations: 123.4 kB / 0.782 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.9435, allocations: 51.42 kB / 0.782 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.9435, allocations: 4 kB / 0.782 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.03343/0.9769, allocations: 13.82 MB / 0.7955 GB, free: 7.277 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)