Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.5 MB / 302.6 MB, free: 8.238 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.00101/0.00101, allocations: 176.9 kB / 371.2 MB, free: 10.83 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.425/1.425, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007519/0.0007517, allocations: 92.16 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 18.72 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002107/0.2366, allocations: 2.04 MB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6328/0.8694, allocations: 137.1 MB / 1.115 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.8697, allocations: 2.031 kB / 1.115 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.87, allocations: 76.3 kB / 1.115 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.8708, allocations: 206.8 kB / 1.115 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.8725, allocations: 0.5102 MB / 1.115 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007884/0.8733, allocations: 376.5 kB / 1.116 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.8735, allocations: 50.56 kB / 1.116 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.8738, allocations: 160.8 kB / 1.116 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.8742, allocations: 178.7 kB / 1.116 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.8743, allocations: 17.38 kB / 1.116 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.8761, allocations: 0.4932 MB / 1.117 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.8762, allocations: 66.67 kB / 1.117 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.8764, allocations: 75.38 kB / 1.117 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.8774, allocations: 458.2 kB / 1.117 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8774, allocations: 0 / 1.117 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8774, allocations: 0.875 kB / 1.117 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.8774, allocations: 4 kB / 1.117 GB, free: 1.441 MB / 0.6823 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.001579/0.879, allocations: 0.6799 MB / 1.118 GB, free: 16.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.8791, allocations: 10.11 kB / 1.118 GB, free: 16.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.8806, allocations: 158.8 kB / 1.118 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.8812, allocations: 324 kB / 1.118 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/0.8813, allocations: 52.73 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.8814, allocations: 21.09 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.8819, allocations: 209 kB / 1.119 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8819, allocations: 1.156 kB / 1.119 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.8819, allocations: 4.844 kB / 1.119 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.8819, allocations: 3.469 kB / 1.119 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.8822, allocations: 124.3 kB / 1.119 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.8848, allocations: 0.9948 MB / 1.12 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.8857, allocations: 160.9 kB / 1.12 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.8859, allocations: 101.3 kB / 1.12 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.8859, allocations: 1.219 kB / 1.12 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.8864, allocations: 204 kB / 1.12 GB, free: 15.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.225e-06/0.8864, allocations: 0 / 1.12 GB, free: 15.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.004158/0.8906, allocations: 0.873 MB / 1.121 GB, free: 15.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.8907, allocations: 85.05 kB / 1.121 GB, free: 15.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.8911, allocations: 344.3 kB / 1.121 GB, free: 15.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.8912, allocations: 31.61 kB / 1.121 GB, free: 15.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.8913, allocations: 146.2 kB / 1.122 GB, free: 15.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.8914, allocations: 60.81 kB / 1.122 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.8914, allocations: 12.47 kB / 1.122 GB, free: 15.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8916, allocations: 341.9 kB / 1.122 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.8919, allocations: 136.8 kB / 1.122 GB, free: 15.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.8923, allocations: 217.2 kB / 1.122 GB, free: 15.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.8929, allocations: 348.9 kB / 1.123 GB, free: 14.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8929, allocations: 0 / 1.123 GB, free: 14.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003589/0.8965, allocations: 0.8645 MB / 1.123 GB, free: 14.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.8966, allocations: 38.83 kB / 1.124 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8966, allocations: 0 / 1.124 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.8975, allocations: 200.5 kB / 1.124 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.8978, allocations: 43.98 kB / 1.124 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.9006, allocations: 2.241 MB / 1.126 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.9012, allocations: 51.38 kB / 1.126 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.9013, allocations: 18.31 kB / 1.126 GB, free: 12.77 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 ($PRE.eva.off,$whenCondition2,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.0002599/0.9015, allocations: 198.4 kB / 1.126 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.9016, allocations: 29.84 kB / 1.126 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.9016, allocations: 28.36 kB / 1.126 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.9016, allocations: 6.75 kB / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.9016, allocations: 0 / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9017, allocations: 0 / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.9047, allocations: 1.053 MB / 1.127 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9048, allocations: 1.859 kB / 1.127 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.9048, allocations: 12.56 kB / 1.127 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003296/0.9052, allocations: 110.4 kB / 1.127 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.9052, allocations: 10.83 kB / 1.127 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009134/0.9061, allocations: 0.7559 MB / 1.128 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9061, allocations: 240 / 1.128 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.9092, allocations: 0.8983 MB / 1.129 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.9094, allocations: 130.5 kB / 1.129 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.9095, allocations: 6.844 kB / 1.129 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.9097, allocations: 17.3 kB / 1.129 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.9098, allocations: 11.28 kB / 1.129 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.9098, allocations: 12.8 kB / 1.129 GB, free: 11.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003078/0.9102, allocations: 238 kB / 1.129 GB, free: 11.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9102, allocations: 0 / 1.129 GB, free: 11.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006033/0.9108, allocations: 109.1 kB / 1.13 GB, free: 11.16 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.0003691/0.9112, allocations: 193.6 kB / 1.13 GB, free: 11.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.9127, allocations: 0.5636 MB / 1.13 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9127, allocations: 0 / 1.13 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.9134, allocations: 248.5 kB / 1.131 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.9139, allocations: 63.3 kB / 1.131 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.9153, allocations: 0.7011 MB / 1.131 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.9156, allocations: 0.7584 MB / 1.132 GB, free: 9.695 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.9158, allocations: 27.16 kB / 1.132 GB, free: 9.684 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.9159, allocations: 21.94 kB / 1.132 GB, free: 9.676 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.9159, allocations: 0 / 1.132 GB, free: 9.676 MB / 0.698 GB Notification: Performance of Templates: time 0.01187/0.9278, allocations: 6.671 MB / 1.139 GB, free: 7.844 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)