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.001009/0.001014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.6579/0.6579, allocations: 95.63 MB / 366 MB, free: 10.35 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.0005943/0.0005946, allocations: 19.98 kB / 446.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3933, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirComparison): time 0.001132/0.3945, allocations: 1.123 MB / 0.5062 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5242/0.9188, allocations: 146.9 MB / 0.6496 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.9189, allocations: 0 / 0.6496 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.9189, allocations: 8.812 kB / 0.6496 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.919, allocations: 12.38 kB / 0.6497 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.9214, allocations: 0.5715 MB / 0.6502 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.9215, allocations: 77.44 kB / 0.6503 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.9216, allocations: 1.75 kB / 0.6503 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.9216, allocations: 28.66 kB / 0.6503 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.9217, allocations: 38.55 kB / 0.6504 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.9218, allocations: 6.5 kB / 0.6504 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.9234, allocations: 0.7592 MB / 0.6511 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.9235, allocations: 17.45 kB / 0.6511 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.9236, allocations: 35.23 kB / 0.6512 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.9242, allocations: 380.9 kB / 0.6515 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9242, allocations: 2.188 kB / 0.6515 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9242, allocations: 0 / 0.6515 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9242, allocations: 0 / 0.6515 GB, free: 16.9 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.0005418/0.9247, allocations: 482.3 kB / 0.652 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9248, allocations: 13.83 kB / 0.652 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.9248, allocations: 13.8 kB / 0.652 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.925, allocations: 166.5 kB / 0.6522 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.925, allocations: 6.094 kB / 0.6522 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.925, allocations: 3.312 kB / 0.6522 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.9252, allocations: 106 kB / 0.6523 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9252, allocations: 0.5 kB / 0.6523 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.9252, allocations: 8.75 kB / 0.6523 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.9253, allocations: 7.734 kB / 0.6523 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.9255, allocations: 124.3 kB / 0.6524 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.9259, allocations: 352.9 kB / 0.6527 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.9261, allocations: 107 kB / 0.6528 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.9262, allocations: 42.12 kB / 0.6529 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.9266, allocations: 340 kB / 0.6532 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.9266, allocations: 36.94 kB / 0.6532 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.9266, allocations: 0.5 kB / 0.6532 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004416/0.9271, allocations: 150.2 kB / 0.6534 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.9271, allocations: 56.06 kB / 0.6534 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.9272, allocations: 97.62 kB / 0.6535 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9272, allocations: 30.27 kB / 0.6536 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.9273, allocations: 92.34 kB / 0.6537 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.9273, allocations: 55.33 kB / 0.6537 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.9274, allocations: 4.094 kB / 0.6537 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9275, allocations: 318.7 kB / 0.654 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.9276, allocations: 26.98 kB / 0.654 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.9277, allocations: 51.97 kB / 0.6541 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.345e-05/0.9278, allocations: 39.25 kB / 0.6541 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9278, allocations: 0.5938 kB / 0.6541 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002787/0.9281, allocations: 133.3 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.9281, allocations: 7.375 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9281, allocations: 0.5 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.9282, allocations: 1.844 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.9284, allocations: 44.42 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.9284, allocations: 4.844 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.9285, allocations: 10.06 kB / 0.6543 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.9285, allocations: 10 kB / 0.6543 GB, free: 14.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.9286, allocations: 118.8 kB / 0.6544 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.9287, allocations: 8.219 kB / 0.6545 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.929, allocations: 164.1 kB / 0.6546 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.929, allocations: 1.688 kB / 0.6546 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.9291, allocations: 4.453 kB / 0.6546 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9291, allocations: 0.5938 kB / 0.6546 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.9293, allocations: 196.4 kB / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.9293, allocations: 3.188 kB / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.9295, allocations: 38.83 kB / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.9295, allocations: 3.375 kB / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.9295, allocations: 3.25 kB / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9295, allocations: 0 / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9295, allocations: 3 kB / 0.6549 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.9297, allocations: 219.9 kB / 0.6551 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.9298, allocations: 93.81 kB / 0.6551 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.9298, allocations: 5.719 kB / 0.6552 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.93, allocations: 6.188 kB / 0.6552 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.93, allocations: 9.203 kB / 0.6552 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.93, allocations: 12.59 kB / 0.6552 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.9301, allocations: 82.66 kB / 0.6553 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9301, allocations: 0 / 0.6553 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006361/0.9307, allocations: 184.2 kB / 0.6554 GB, free: 14.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007994/0.9315, allocations: 345.6 kB / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.9317, allocations: 89.72 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9317, allocations: 0 / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.9318, allocations: 55.84 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.932, allocations: 11.7 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.9324, allocations: 232 kB / 0.6561 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.9327, allocations: 0.6896 MB / 0.6568 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.9328, allocations: 32.73 kB / 0.6568 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.9328, allocations: 19.27 kB / 0.6569 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.9328, allocations: 2.844 kB / 0.6569 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.00716/0.94, allocations: 3.631 MB / 0.6604 GB, free: 12.61 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: