Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 293 MB / 309 MB, free: 4.82 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.001521/0.001521, allocations: 176.1 kB / 378.7 MB, free: 1.02 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.659/1.659, allocations: 205.4 MB / 0.6383 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009955/0.0009957, allocations: 88.05 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004737, allocations: 16 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2888, allocations: 116.4 MB / 0.9905 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.177/5.466, allocations: 2.066 GB / 3.056 GB, free: 151.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/5.467, allocations: 101 kB / 3.056 GB, free: 151.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1003/5.567, allocations: 50.81 MB / 3.106 GB, free: 100.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.006e-06/5.567, allocations: 0 / 3.106 GB, free: 100.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.139e-05/5.567, allocations: 4.75 kB / 3.106 GB, free: 100.4 MB / 0.948 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.001766/5.569, allocations: 0.6964 MB / 3.106 GB, free: 99.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/5.569, allocations: 15.97 kB / 3.107 GB, free: 99.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/5.571, allocations: 152.4 kB / 3.107 GB, free: 99.49 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/5.571, allocations: 315.5 kB / 3.107 GB, free: 99.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/5.571, allocations: 58.16 kB / 3.107 GB, free: 99.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/5.571, allocations: 24.31 kB / 3.107 GB, free: 99.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/5.572, allocations: 214.2 kB / 3.107 GB, free: 98.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/5.572, allocations: 4.781 kB / 3.107 GB, free: 98.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/5.572, allocations: 8 kB / 3.107 GB, free: 98.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/5.572, allocations: 4 kB / 3.107 GB, free: 98.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/5.572, allocations: 132.1 kB / 3.107 GB, free: 98.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/5.575, allocations: 1.017 MB / 3.108 GB, free: 97.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/5.576, allocations: 168.5 kB / 3.109 GB, free: 97.44 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/5.576, allocations: 108.8 kB / 3.109 GB, free: 97.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/5.576, allocations: 3.938 kB / 3.109 GB, free: 97.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/5.576, allocations: 197 kB / 3.109 GB, free: 97.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 4.198e-06/5.576, allocations: 0.8438 kB / 3.109 GB, free: 97.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.004315/5.581, allocations: 0.9293 MB / 3.11 GB, free: 96.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/5.581, allocations: 81.11 kB / 3.11 GB, free: 96.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/5.581, allocations: 340.4 kB / 3.11 GB, free: 95.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/5.581, allocations: 37.69 kB / 3.11 GB, free: 95.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/5.582, allocations: 152.6 kB / 3.11 GB, free: 95.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/5.582, allocations: 55.2 kB / 3.11 GB, free: 95.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/5.582, allocations: 8 kB / 3.11 GB, free: 95.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/5.582, allocations: 338.8 kB / 3.111 GB, free: 95.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/5.582, allocations: 145.3 kB / 3.111 GB, free: 94.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/5.583, allocations: 233.3 kB / 3.111 GB, free: 94.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/5.583, allocations: 351.9 kB / 3.111 GB, free: 94.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/5.583, allocations: 4 kB / 3.111 GB, free: 94.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003472/5.587, allocations: 0.8962 MB / 3.112 GB, free: 93.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/5.587, allocations: 33.7 kB / 3.112 GB, free: 93.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/5.587, allocations: 4 kB / 3.112 GB, free: 93.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000836/5.588, allocations: 209.6 kB / 3.113 GB, free: 93.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/5.588, allocations: 40.81 kB / 3.113 GB, free: 93.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/5.59, allocations: 2.239 MB / 3.115 GB, free: 90.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/5.591, allocations: 48.52 kB / 3.115 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/5.591, allocations: 23.98 kB / 3.115 GB, free: 90.67 MB / 0.948 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.000251/5.591, allocations: 187.4 kB / 3.115 GB, free: 90.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/5.591, allocations: 27.72 kB / 3.115 GB, free: 90.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/5.591, allocations: 31.17 kB / 3.115 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/5.591, allocations: 3.938 kB / 3.115 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/5.591, allocations: 4 kB / 3.115 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/5.591, allocations: 0 / 3.115 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/5.594, allocations: 1.082 MB / 3.116 GB, free: 89.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/5.594, allocations: 4 kB / 3.116 GB, free: 89.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/5.594, allocations: 8.969 kB / 3.116 GB, free: 89.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/5.595, allocations: 116.8 kB / 3.116 GB, free: 89.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/5.595, allocations: 8 kB / 3.116 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007273/5.595, allocations: 0.7575 MB / 3.117 GB, free: 88.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/5.595, allocations: 0 / 3.117 GB, free: 88.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/5.598, allocations: 0.9259 MB / 3.118 GB, free: 87.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/5.599, allocations: 140.7 kB / 3.118 GB, free: 87.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/5.599, allocations: 4.062 kB / 3.118 GB, free: 87.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/5.599, allocations: 19.98 kB / 3.118 GB, free: 87.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/5.599, allocations: 7.984 kB / 3.118 GB, free: 87.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/5.599, allocations: 15.98 kB / 3.118 GB, free: 87.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002506/5.599, allocations: 239.8 kB / 3.118 GB, free: 86.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/5.599, allocations: 0 / 3.118 GB, free: 86.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007004/5.6, allocations: 175.8 kB / 3.118 GB, free: 86.79 MB / 0.948 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.0009881/5.601, allocations: 0.7107 MB / 3.119 GB, free: 86.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001413/5.602, allocations: 0.5501 MB / 3.12 GB, free: 85.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.602, allocations: 1.312 kB / 3.12 GB, free: 85.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006295/5.603, allocations: 260.1 kB / 3.12 GB, free: 85.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/5.604, allocations: 63.28 kB / 3.12 GB, free: 85.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/5.605, allocations: 0.6981 MB / 3.121 GB, free: 84.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/5.605, allocations: 0.756 MB / 3.121 GB, free: 83.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001854/5.605, allocations: 27.14 kB / 3.121 GB, free: 83.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/5.605, allocations: 23.42 kB / 3.121 GB, free: 83.62 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/5.605, allocations: 0 / 3.121 GB, free: 83.62 MB / 0.948 GB Notification: Performance of Templates: time 0.01858/5.624, allocations: 14.59 MB / 3.136 GB, free: 69.08 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)