Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.788/1.788, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.378/3.378, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.727e-05, allocations: 5.656 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004283/0.00432, allocations: 2.306 MB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.9476/0.952, allocations: 132.7 MB / 1.133 GB, free: 304 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.9522, allocations: 5 kB / 1.133 GB, free: 300 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.9526, allocations: 82.83 kB / 1.133 GB, free: 268 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.9537, allocations: 257.7 kB / 1.133 GB, free: 124 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.9559, allocations: 0.6714 MB / 1.134 GB, free: 15.79 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000893/0.9568, allocations: 444.5 kB / 1.134 GB, free: 15.59 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.957, allocations: 34.12 kB / 1.134 GB, free: 15.57 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.9574, allocations: 247 kB / 1.135 GB, free: 15.48 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.9578, allocations: 174.7 kB / 1.135 GB, free: 15.43 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.9579, allocations: 30.78 kB / 1.135 GB, free: 15.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.9594, allocations: 0.6024 MB / 1.135 GB, free: 15.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.9596, allocations: 80.44 kB / 1.136 GB, free: 15.21 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.9598, allocations: 117.9 kB / 1.136 GB, free: 15.16 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.9614, allocations: 0.7438 MB / 1.136 GB, free: 14.89 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9614, allocations: 1.656 kB / 1.136 GB, free: 14.89 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9614, allocations: 2.344 kB / 1.136 GB, free: 14.89 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9614, allocations: 4 kB / 1.136 GB, free: 14.89 MB / 1.01 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.001869/0.9633, allocations: 0.6938 MB / 1.137 GB, free: 14.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9633, allocations: 9.344 kB / 1.137 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.9651, allocations: 195.2 kB / 1.137 GB, free: 14.35 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.9657, allocations: 258.5 kB / 1.138 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.9658, allocations: 48.67 kB / 1.138 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.9659, allocations: 21.56 kB / 1.138 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.9664, allocations: 237.6 kB / 1.138 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9664, allocations: 0 / 1.138 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.9664, allocations: 6.703 kB / 1.138 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.9665, allocations: 3.344 kB / 1.138 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.9668, allocations: 151.9 kB / 1.138 GB, free: 13.89 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.9695, allocations: 0.8535 MB / 1.139 GB, free: 13.35 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.9704, allocations: 181.4 kB / 1.139 GB, free: 13.25 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.9706, allocations: 111.6 kB / 1.139 GB, free: 13.19 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.9706, allocations: 6.75 kB / 1.139 GB, free: 13.18 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004586/0.9711, allocations: 226.5 kB / 1.139 GB, free: 13.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.9711, allocations: 0 / 1.139 GB, free: 13.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.004636/0.9757, allocations: 0.8709 MB / 1.14 GB, free: 12.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.9758, allocations: 85.22 kB / 1.14 GB, free: 12.64 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.9763, allocations: 316.4 kB / 1.141 GB, free: 12.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.9764, allocations: 38.36 kB / 1.141 GB, free: 12.43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.9766, allocations: 162 kB / 1.141 GB, free: 12.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.9767, allocations: 55.31 kB / 1.141 GB, free: 12.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.9769, allocations: 84.64 kB / 1.141 GB, free: 12.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.9771, allocations: 338.8 kB / 1.141 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.9775, allocations: 172.7 kB / 1.141 GB, free: 11.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.9781, allocations: 356.1 kB / 1.142 GB, free: 11.54 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.9789, allocations: 344 kB / 1.142 GB, free: 11.33 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9789, allocations: 1.188 kB / 1.142 GB, free: 11.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004041/0.9829, allocations: 0.9128 MB / 1.143 GB, free: 11.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.983, allocations: 40.52 kB / 1.143 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.983, allocations: 1.156 kB / 1.143 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.984, allocations: 199.6 kB / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.9842, allocations: 40.81 kB / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.9878, allocations: 2.207 MB / 1.145 GB, free: 8.914 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.9884, allocations: 51.48 kB / 1.145 GB, free: 8.883 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.9884, allocations: 18.27 kB / 1.145 GB, free: 8.883 MB / 1.01 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,eva.off,$whenCondition2,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$whenCondition1,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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.9888, allocations: 185.7 kB / 1.146 GB, free: 8.715 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.9888, allocations: 33.98 kB / 1.146 GB, free: 8.695 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.9889, allocations: 25.25 kB / 1.146 GB, free: 8.684 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9889, allocations: 1.094 kB / 1.146 GB, free: 8.684 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.9889, allocations: 5.938 kB / 1.146 GB, free: 8.68 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9889, allocations: 0.7969 kB / 1.146 GB, free: 8.68 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.9925, allocations: 0.9852 MB / 1.147 GB, free: 8.203 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9925, allocations: 0 / 1.147 GB, free: 8.203 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.9925, allocations: 15.2 kB / 1.147 GB, free: 8.195 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/0.9929, allocations: 110.2 kB / 1.147 GB, free: 8.16 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.9929, allocations: 6.531 kB / 1.147 GB, free: 8.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.994, allocations: 0.752 MB / 1.147 GB, free: 7.508 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.994, allocations: 5.25 kB / 1.147 GB, free: 7.504 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.9975, allocations: 0.9466 MB / 1.148 GB, free: 7.078 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.9977, allocations: 58.88 kB / 1.148 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.9977, allocations: 7.906 kB / 1.148 GB, free: 7.043 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.998, allocations: 15.45 kB / 1.148 GB, free: 7.039 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.9981, allocations: 12.81 kB / 1.148 GB, free: 7.035 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.9981, allocations: 9.125 kB / 1.148 GB, free: 7.035 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003524/0.9984, allocations: 227.1 kB / 1.149 GB, free: 6.914 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9984, allocations: 0 / 1.149 GB, free: 6.914 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009364/0.9994, allocations: 119.6 kB / 1.149 GB, free: 6.895 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004893/0.9999, allocations: 195.6 kB / 1.149 GB, free: 6.777 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001926/1.002, allocations: 0.6005 MB / 1.15 GB, free: 6.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.002, allocations: 1.156 kB / 1.15 GB, free: 6.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007849/1.003, allocations: 248.6 kB / 1.15 GB, free: 6.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/1.003, allocations: 59.2 kB / 1.15 GB, free: 6.246 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.005, allocations: 0.6051 MB / 1.15 GB, free: 5.887 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/1.005, allocations: 150.4 kB / 1.151 GB, free: 5.809 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001633/1.005, allocations: 28.69 kB / 1.151 GB, free: 5.797 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/1.005, allocations: 22.56 kB / 1.151 GB, free: 5.793 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/1.005, allocations: 0 / 1.151 GB, free: 5.793 MB / 1.01 GB Notification: Performance of Templates: time 0.01805/1.023, allocations: 7.701 MB / 1.158 GB, free: 4.938 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.954448358155787]