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.006681/0.006681, allocations: 103 kB / 15.73 MB, free: 6.051 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.001331/0.001331, allocations: 195.8 kB / 16.67 MB, free: 5.98 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.6971/0.6971, allocations: 95.48 MB / 365.4 MB, free: 9.77 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.001495/0.001495, allocations: 76.5 kB / 0.5037 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1823, 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.7073/0.8897, allocations: 183.5 MB / 0.7504 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006022/0.8958, allocations: 3.992 MB / 0.7543 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00051/0.8963, allocations: 7.938 kB / 0.7543 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.8974, allocations: 254.6 kB / 0.7545 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.8987, allocations: 429.6 kB / 0.7549 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006882/0.9056, allocations: 2.105 MB / 0.757 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.9076, allocations: 1.208 MB / 0.7581 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.908, allocations: 157.4 kB / 0.7583 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.9115, allocations: 1.141 MB / 0.7594 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.9125, allocations: 434.5 kB / 0.7598 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.9128, allocations: 64 kB / 0.7599 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.9179, allocations: 2.226 MB / 0.7621 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.9184, allocations: 243.4 kB / 0.7623 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007923/0.9192, allocations: 330.8 kB / 0.7626 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.9244, allocations: 2.058 MB / 0.7646 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9244, allocations: 0 / 0.7646 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-05/0.9244, allocations: 4 kB / 0.7646 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.9245, allocations: 0 / 0.7646 GB, free: 8.23 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.002934/0.9274, allocations: 1.014 MB / 0.7656 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.9275, allocations: 15.98 kB / 0.7656 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.928, allocations: 55.44 kB / 0.7657 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.9287, allocations: 374.7 kB / 0.766 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.9288, allocations: 40.88 kB / 0.7661 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.9289, allocations: 44 kB / 0.7661 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.9299, allocations: 0.5023 MB / 0.7666 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.9299, allocations: 0 / 0.7666 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.93, allocations: 24 kB / 0.7666 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.93, allocations: 8 kB / 0.7666 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.9311, allocations: 0.5934 MB / 0.7672 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.9347, allocations: 2.175 MB / 0.7693 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.9359, allocations: 0.5471 MB / 0.7699 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.9364, allocations: 263.9 kB / 0.7701 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005861/0.937, allocations: 0.6892 MB / 0.7708 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.937, allocations: 39 kB / 0.7708 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.676e-06/0.937, allocations: 0 / 0.7708 GB, free: 1.383 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.007484/0.9445, allocations: 2.787 MB / 0.7736 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.9446, allocations: 59.84 kB / 0.7736 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.945, allocations: 311 kB / 0.7739 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.945, allocations: 37.7 kB / 0.7739 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.9452, allocations: 192.5 kB / 0.7741 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.9454, allocations: 189.2 kB / 0.7743 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.9455, allocations: 94.25 kB / 0.7744 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9457, allocations: 350.8 kB / 0.7747 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.946, allocations: 201.5 kB / 0.7749 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.9465, allocations: 267.2 kB / 0.7752 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.9473, allocations: 0.4919 MB / 0.7757 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9473, allocations: 0.8125 kB / 0.7757 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001066/0.9484, allocations: 0.6134 MB / 0.7763 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9484, allocations: 4 kB / 0.7763 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.9484, allocations: 13.7 kB / 0.7763 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.9486, allocations: 45.64 kB / 0.7763 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.9491, allocations: 111.8 kB / 0.7764 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.9514, allocations: 2.825 MB / 0.7792 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.9518, allocations: 12.03 kB / 0.7792 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.9519, allocations: 23.98 kB / 0.7792 GB, free: 8.266 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.000293/0.9522, allocations: 185.8 kB / 0.7794 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.9523, allocations: 47.61 kB / 0.7794 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.9537, allocations: 0.7039 MB / 0.7801 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.9538, allocations: 4 kB / 0.7801 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.9538, allocations: 3.938 kB / 0.7801 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/0.9548, allocations: 0.7626 MB / 0.7809 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.9577, allocations: 1.382 MB / 0.7822 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.9577, allocations: 7.875 kB / 0.7822 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.9582, allocations: 99.86 kB / 0.7823 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.9596, allocations: 272.5 kB / 0.7826 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.9597, allocations: 12 kB / 0.7826 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006285/0.9603, allocations: 0.6577 MB / 0.7833 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9604, allocations: 0 / 0.7833 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.9626, allocations: 1.056 MB / 0.7843 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.963, allocations: 184.5 kB / 0.7845 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.9631, allocations: 15.98 kB / 0.7845 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.9635, allocations: 23.98 kB / 0.7845 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.9636, allocations: 32.52 kB / 0.7845 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.9637, allocations: 23.98 kB / 0.7846 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002838/0.964, allocations: 237.9 kB / 0.7848 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.964, allocations: 0 / 0.7848 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001114/0.9651, allocations: 303.8 kB / 0.7851 GB, free: 2.043 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.00102/0.9661, allocations: 382.8 kB / 0.7854 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.9675, allocations: 0.724 MB / 0.7861 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.9675, allocations: 0 / 0.7861 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.968, allocations: 279.1 kB / 0.7864 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.9695, allocations: 309.4 kB / 0.7867 GB, free: 352 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.9719, allocations: 1.096 MB / 0.7878 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.9725, allocations: 0.8447 MB / 0.7886 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005518/0.973, allocations: 128.3 kB / 0.7887 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.9732, allocations: 51.42 kB / 0.7888 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.9732, allocations: 0 / 0.7888 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.02772/1.001, allocations: 15.57 MB / 0.804 GB, free: 14.68 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)