Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.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.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.448/1.448, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.6001/0.6001, allocations: 95.49 MB / 365.2 MB, free: 9.879 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.001693/0.001693, allocations: 68.28 kB / 445.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3431, allocations: 69.08 MB / 0.5024 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirComparison): time 0.002462/0.3456, allocations: 1.416 MB / 0.5037 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6167/0.9624, allocations: 161.6 MB / 0.6616 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.9625, allocations: 2.344 kB / 0.6616 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.9626, allocations: 5.719 kB / 0.6616 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.9628, allocations: 15.97 kB / 0.6616 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.9658, allocations: 0.7449 MB / 0.6623 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.966, allocations: 73.62 kB / 0.6624 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.966, allocations: 7.266 kB / 0.6624 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.9661, allocations: 31.17 kB / 0.6625 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.9662, allocations: 33.52 kB / 0.6625 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.9662, allocations: 5.594 kB / 0.6625 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.9679, allocations: 0.8751 MB / 0.6633 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.968, allocations: 21.27 kB / 0.6634 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.9681, allocations: 27.62 kB / 0.6634 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.969, allocations: 0.5753 MB / 0.664 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.969, allocations: 2.812 kB / 0.664 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.969, allocations: 0 / 0.664 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.969, allocations: 0 / 0.664 GB, free: 12.89 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007208/0.9698, allocations: 489.5 kB / 0.6644 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9698, allocations: 15.31 kB / 0.6644 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.9699, allocations: 12.75 kB / 0.6644 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.9701, allocations: 169.1 kB / 0.6646 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.9701, allocations: 15.34 kB / 0.6646 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.9701, allocations: 6 kB / 0.6646 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.9703, allocations: 107.5 kB / 0.6647 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.9704, allocations: 1.188 kB / 0.6647 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.9704, allocations: 6.312 kB / 0.6647 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.9704, allocations: 2.406 kB / 0.6647 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.9707, allocations: 130.5 kB / 0.6649 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.9712, allocations: 355.3 kB / 0.6652 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.9714, allocations: 101.7 kB / 0.6653 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.9714, allocations: 42.61 kB / 0.6653 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.9718, allocations: 336.7 kB / 0.6657 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.9719, allocations: 36.66 kB / 0.6657 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.9719, allocations: 3.938 kB / 0.6657 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003782/0.9722, allocations: 149.8 kB / 0.6658 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.9723, allocations: 51.41 kB / 0.6659 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.9724, allocations: 101 kB / 0.666 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.9724, allocations: 30.86 kB / 0.666 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.9725, allocations: 84.2 kB / 0.6661 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.9725, allocations: 55.59 kB / 0.6662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.9726, allocations: 34.61 kB / 0.6662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9727, allocations: 319.5 kB / 0.6665 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.9728, allocations: 32.53 kB / 0.6665 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.9729, allocations: 53.88 kB / 0.6666 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.973, allocations: 91.12 kB / 0.6667 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.973, allocations: 4 kB / 0.6667 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002092/0.9733, allocations: 136 kB / 0.6668 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9733, allocations: 10.98 kB / 0.6668 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9733, allocations: 2.844 kB / 0.6668 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.9733, allocations: 1.203 kB / 0.6668 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.9735, allocations: 46.44 kB / 0.6669 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9735, allocations: 0 / 0.6669 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.9736, allocations: 6.594 kB / 0.6669 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.9736, allocations: 14.03 kB / 0.6669 GB, free: 10.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.361e-05/0.9737, allocations: 115.8 kB / 0.667 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.9738, allocations: 9.344 kB / 0.667 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.9741, allocations: 167.6 kB / 0.6672 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9741, allocations: 0 / 0.6672 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9741, allocations: 3.188 kB / 0.6672 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9741, allocations: 2.578 kB / 0.6672 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.9743, allocations: 194.2 kB / 0.6673 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9744, allocations: 0 / 0.6673 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.9745, allocations: 40.02 kB / 0.6674 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9745, allocations: 2.812 kB / 0.6674 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.9745, allocations: 2.578 kB / 0.6674 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9745, allocations: 6.188 kB / 0.6674 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.9746, allocations: 0 / 0.6674 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.9748, allocations: 224.1 kB / 0.6676 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.9749, allocations: 87.45 kB / 0.6677 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.9749, allocations: 8 kB / 0.6677 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.975, allocations: 4 kB / 0.6677 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.9751, allocations: 12.61 kB / 0.6677 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9751, allocations: 10.08 kB / 0.6677 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.9752, allocations: 85.11 kB / 0.6678 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9752, allocations: 0 / 0.6678 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005406/0.9757, allocations: 177.1 kB / 0.668 GB, free: 9.949 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008338/0.9766, allocations: 361.1 kB / 0.6683 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.9768, allocations: 94.34 kB / 0.6684 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9768, allocations: 3.312 kB / 0.6684 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.9769, allocations: 54.3 kB / 0.6685 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.9772, allocations: 22.17 kB / 0.6685 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.9776, allocations: 195.5 kB / 0.6687 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.978, allocations: 0.6955 MB / 0.6693 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.9781, allocations: 33.52 kB / 0.6694 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.9781, allocations: 24.2 kB / 0.6694 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.9782, allocations: 0 / 0.6694 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.007143/0.9853, allocations: 3.72 MB / 0.673 GB, free: 8.324 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe 2>&1)