Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009966/0.0009967, allocations: 181.2 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008304/0.0008304, allocations: 98.28 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 13.78 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002629/0.249, allocations: 2.133 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.4151, allocations: 148.7 MB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.4154, allocations: 4 kB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.4159, allocations: 83.61 kB / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006498/0.4165, allocations: 206.9 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.4183, allocations: 0.5763 MB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.4188, allocations: 418.6 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.4189, allocations: 40.73 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.4191, allocations: 155.5 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.4194, allocations: 195.2 kB / 1.046 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.4195, allocations: 16 kB / 1.046 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.4207, allocations: 0.6628 MB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4208, allocations: 75.72 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.421, allocations: 151.2 kB / 1.047 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.4216, allocations: 458.9 kB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4216, allocations: 4 kB / 1.047 GB, free: 9.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4216, allocations: 3.938 kB / 1.047 GB, free: 9.703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4216, allocations: 4 kB / 1.047 GB, free: 9.699 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.001497/0.4231, allocations: 0.6832 MB / 1.048 GB, free: 8.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4232, allocations: 8.031 kB / 1.048 GB, free: 8.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.4247, allocations: 160.4 kB / 1.048 GB, free: 8.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4252, allocations: 318.7 kB / 1.048 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.4253, allocations: 41.7 kB / 1.048 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.4254, allocations: 24 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.4258, allocations: 208.1 kB / 1.048 GB, free: 8.156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4258, allocations: 0 / 1.048 GB, free: 8.156 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.4258, allocations: 4 kB / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4259, allocations: 0 / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.4261, allocations: 120.1 kB / 1.049 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.4286, allocations: 1 MB / 1.049 GB, free: 6.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.4294, allocations: 170.4 kB / 1.05 GB, free: 6.801 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.4296, allocations: 96.83 kB / 1.05 GB, free: 6.703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.4297, allocations: 128 / 1.05 GB, free: 6.703 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.4301, allocations: 193 kB / 1.05 GB, free: 6.496 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.4301, allocations: 4 kB / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00418/0.4343, allocations: 0.8826 MB / 1.051 GB, free: 5.578 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4343, allocations: 85.09 kB / 1.051 GB, free: 5.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.4348, allocations: 336.5 kB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.4348, allocations: 33.7 kB / 1.051 GB, free: 5.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.435, allocations: 152.6 kB / 1.051 GB, free: 4.949 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.435, allocations: 59.25 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.4351, allocations: 37.7 kB / 1.051 GB, free: 4.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4353, allocations: 346.7 kB / 1.052 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.4356, allocations: 136.5 kB / 1.052 GB, free: 4.367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.436, allocations: 217.4 kB / 1.052 GB, free: 4.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.4367, allocations: 356.8 kB / 1.052 GB, free: 3.766 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4367, allocations: 0 / 1.052 GB, free: 3.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003666/0.4404, allocations: 0.871 MB / 1.053 GB, free: 2.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.4404, allocations: 41.69 kB / 1.053 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4404, allocations: 0 / 1.053 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009508/0.4414, allocations: 201.6 kB / 1.054 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4416, allocations: 39.91 kB / 1.054 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.4446, allocations: 2.243 MB / 1.056 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.4451, allocations: 43.58 kB / 1.056 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.4452, allocations: 23.98 kB / 1.056 GB, free: 116 kB / 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,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.4897/0.9349, allocations: 186 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9351, allocations: 29.73 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-05/0.9352, allocations: 30.06 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.9352, allocations: 1.531 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9352, allocations: 0 / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.9352, allocations: 2.312 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.9387, allocations: 1.05 MB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9387, allocations: 0 / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.9388, allocations: 9 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.9391, allocations: 113.1 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.9391, allocations: 16.09 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007687/0.9399, allocations: 0.7545 MB / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9399, allocations: 1.781 kB / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.9429, allocations: 0.8804 MB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.9431, allocations: 139.2 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.9432, allocations: 5.531 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.9434, allocations: 12.56 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.9435, allocations: 14.31 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.9436, allocations: 10.34 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002961/0.9439, allocations: 241.8 kB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9439, allocations: 0 / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005379/0.9444, allocations: 115.8 kB / 1.059 GB, free: 159.2 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 (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.000355/0.9448, allocations: 191.1 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.9463, allocations: 0.5616 MB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9464, allocations: 2.75 kB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.9471, allocations: 250.5 kB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.9476, allocations: 64.28 kB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.9489, allocations: 0.6957 MB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.9492, allocations: 0.763 MB / 1.062 GB, free: 157.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.9493, allocations: 22.03 kB / 1.062 GB, free: 157.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.9493, allocations: 0 / 1.062 GB, free: 157.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01364/0.9629, allocations: 6.486 MB / 1.068 GB, free: 157.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)