Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.4 MB / 303.4 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 181.6 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008252/0.0008252, allocations: 102.3 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004245, allocations: 16.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002581/0.2277, allocations: 2.028 MB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6493/0.877, allocations: 137.1 MB / 1.115 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.8774, allocations: 2.75 kB / 1.115 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.8778, allocations: 74.73 kB / 1.116 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.8785, allocations: 211.2 kB / 1.116 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.8803, allocations: 0.5096 MB / 1.116 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00048/0.8808, allocations: 374 kB / 1.117 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.8809, allocations: 40.88 kB / 1.117 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.8811, allocations: 159 kB / 1.117 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.8815, allocations: 184.6 kB / 1.117 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.8815, allocations: 16.31 kB / 1.117 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.8828, allocations: 0.4956 MB / 1.117 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.883, allocations: 69.17 kB / 1.118 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.8831, allocations: 77.44 kB / 1.118 GB, free: 18.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.8839, allocations: 457.2 kB / 1.118 GB, free: 18.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8839, allocations: 4 kB / 1.118 GB, free: 18.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8839, allocations: 1.156 kB / 1.118 GB, free: 18.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.884, allocations: 0 / 1.118 GB, free: 18.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001622/0.8856, allocations: 0.6863 MB / 1.119 GB, free: 17.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.8857, allocations: 13.42 kB / 1.119 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.8873, allocations: 156.7 kB / 1.119 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.8878, allocations: 303.3 kB / 1.119 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.8879, allocations: 51.06 kB / 1.119 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.888, allocations: 25.47 kB / 1.119 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.8885, allocations: 209.1 kB / 1.119 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8885, allocations: 1.25 kB / 1.119 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.8885, allocations: 8.406 kB / 1.119 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.8885, allocations: 5.625 kB / 1.119 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.8888, allocations: 115.7 kB / 1.12 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.8914, allocations: 0.9978 MB / 1.121 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/0.8923, allocations: 163 kB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.8925, allocations: 93.28 kB / 1.121 GB, free: 16.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.8926, allocations: 7.266 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.893, allocations: 192.2 kB / 1.121 GB, free: 16.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.697e-06/0.893, allocations: 0 / 1.121 GB, free: 16.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0043/0.8973, allocations: 0.877 MB / 1.122 GB, free: 16.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.8974, allocations: 85.09 kB / 1.122 GB, free: 16.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.8979, allocations: 345.8 kB / 1.122 GB, free: 16.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.8979, allocations: 31.92 kB / 1.122 GB, free: 16.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.8981, allocations: 151.7 kB / 1.122 GB, free: 16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.8981, allocations: 59.67 kB / 1.122 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.8982, allocations: 5.906 kB / 1.122 GB, free: 15.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8983, allocations: 339.9 kB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.8987, allocations: 141.4 kB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.8991, allocations: 222 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.8995, allocations: 179.2 kB / 1.123 GB, free: 15.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8995, allocations: 0 / 1.123 GB, free: 15.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003853/0.9034, allocations: 0.8696 MB / 1.124 GB, free: 15.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.9035, allocations: 40.55 kB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9035, allocations: 2.531 kB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.9045, allocations: 203.1 kB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.9047, allocations: 46.02 kB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.9077, allocations: 2.24 MB / 1.127 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.9083, allocations: 45.28 kB / 1.127 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.9084, allocations: 18.66 kB / 1.127 GB, free: 13.44 MB / 0.698 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.9087, allocations: 199.7 kB / 1.127 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.9088, allocations: 32.05 kB / 1.127 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.9088, allocations: 28.64 kB / 1.127 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9088, allocations: 1.969 kB / 1.127 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9088, allocations: 0 / 1.127 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9088, allocations: 0 / 1.127 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.9122, allocations: 1.048 MB / 1.128 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9122, allocations: 0 / 1.128 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.9122, allocations: 8.109 kB / 1.128 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.9125, allocations: 114.2 kB / 1.128 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.9126, allocations: 12.3 kB / 1.128 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008628/0.9135, allocations: 0.7461 MB / 1.129 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9135, allocations: 0 / 1.129 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.9166, allocations: 0.8876 MB / 1.13 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.9169, allocations: 133.5 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.917, allocations: 5.281 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.9172, allocations: 14.33 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.9173, allocations: 12.31 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.9174, allocations: 16.31 kB / 1.13 GB, free: 11.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003471/0.9177, allocations: 236.1 kB / 1.13 GB, free: 11.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9177, allocations: 0 / 1.13 GB, free: 11.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008336/0.9186, allocations: 115.2 kB / 1.13 GB, free: 11.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004616/0.919, allocations: 190.1 kB / 1.13 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.9207, allocations: 0.562 MB / 1.131 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9208, allocations: 0 / 1.131 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.9215, allocations: 256.7 kB / 1.131 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.9221, allocations: 61.7 kB / 1.131 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.9237, allocations: 0.6993 MB / 1.132 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.9242, allocations: 0.7602 MB / 1.133 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.9244, allocations: 29.67 kB / 1.133 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.9245, allocations: 23.52 kB / 1.133 GB, free: 10.35 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/0.9245, allocations: 0 / 1.133 GB, free: 10.35 MB / 0.698 GB Notification: Performance of Templates: time 0.01389/0.9384, allocations: 6.633 MB / 1.139 GB, free: 7.777 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)