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.438/1.438, allocations: 252 MB / 267.6 MB, free: 10.9 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.001194/0.001194, allocations: 175 kB / 327.3 MB, free: 2.199 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.876/1.876, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0009253/0.0009253, allocations: 97.59 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 13.69 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002636/0.2481, allocations: 2.039 MB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.4168, allocations: 137.1 MB / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.4173, allocations: 7.938 kB / 1.037 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.4177, allocations: 79.61 kB / 1.037 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007789/0.4185, allocations: 202.9 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4204, allocations: 0.5123 MB / 1.038 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.4209, allocations: 374.6 kB / 1.038 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.421, allocations: 40.7 kB / 1.038 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.4212, allocations: 163.5 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.4216, allocations: 175.4 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.4216, allocations: 16 kB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4228, allocations: 0.4953 MB / 1.039 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.423, allocations: 67.78 kB / 1.039 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4231, allocations: 77.52 kB / 1.039 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.4237, allocations: 455.2 kB / 1.039 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4237, allocations: 0 / 1.039 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4237, allocations: 4 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.4238, allocations: 0 / 1.039 GB, free: 1.645 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.001721/0.4255, allocations: 0.6891 MB / 1.04 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4255, allocations: 8.031 kB / 1.04 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.4272, allocations: 155.5 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.4277, allocations: 302.4 kB / 1.04 GB, free: 416 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/0.4278, allocations: 49.69 kB / 1.041 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.4279, allocations: 23.95 kB / 1.041 GB, free: 336 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.4283, allocations: 200.1 kB / 1.041 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4283, allocations: 4 kB / 1.041 GB, free: 116 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4284, allocations: 11.92 kB / 1.041 GB, free: 104 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4284, allocations: 4 kB / 1.041 GB, free: 100 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.4287, allocations: 115.2 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.4313, allocations: 0.9965 MB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/0.4322, allocations: 166.4 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.4324, allocations: 104.8 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4325, allocations: 0 / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.4329, allocations: 193 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.4329, allocations: 0 / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.004393/0.4373, allocations: 0.8829 MB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4374, allocations: 81.11 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.4379, allocations: 344.4 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.438, allocations: 33.7 kB / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4381, allocations: 144.7 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.4382, allocations: 67.17 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.4382, allocations: 4 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4384, allocations: 338.8 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.4387, allocations: 136.5 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.4392, allocations: 213.4 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.4396, allocations: 182.7 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4396, allocations: 0 / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003831/0.4434, allocations: 0.8635 MB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.4435, allocations: 45.69 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4435, allocations: 3.953 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/0.4445, allocations: 197.5 kB / 1.046 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.4448, allocations: 43.91 kB / 1.046 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.4481, allocations: 2.241 MB / 1.048 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.4486, allocations: 47.58 kB / 1.048 GB, free: 8.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.4487, allocations: 19.98 kB / 1.048 GB, free: 8.305 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.000289/0.449, allocations: 191.4 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.4491, allocations: 27.62 kB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.4491, allocations: 23.19 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4491, allocations: 11.92 kB / 1.048 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4491, allocations: 4 kB / 1.048 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4491, allocations: 0 / 1.048 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.4527, allocations: 1.049 MB / 1.049 GB, free: 6.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4527, allocations: 0 / 1.049 GB, free: 6.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.4527, allocations: 8 kB / 1.049 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/0.4531, allocations: 124.7 kB / 1.049 GB, free: 6.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.4531, allocations: 8 kB / 1.049 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009737/0.4541, allocations: 0.7499 MB / 1.05 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4541, allocations: 0 / 1.05 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.4575, allocations: 0.8804 MB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.4577, allocations: 128.7 kB / 1.051 GB, free: 4.961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.4578, allocations: 8 kB / 1.051 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.458, allocations: 15.98 kB / 1.051 GB, free: 4.938 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.4581, allocations: 15.94 kB / 1.051 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.4581, allocations: 7.984 kB / 1.051 GB, free: 4.914 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003592/0.4585, allocations: 235 kB / 1.051 GB, free: 4.688 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4585, allocations: 4.062 kB / 1.051 GB, free: 4.684 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006609/0.4592, allocations: 108 kB / 1.051 GB, free: 4.578 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.0005053/0.4597, allocations: 189.8 kB / 1.052 GB, free: 4.383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.4615, allocations: 0.5617 MB / 1.052 GB, free: 3.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4615, allocations: 3.938 kB / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.4623, allocations: 259.5 kB / 1.052 GB, free: 3.523 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4628, allocations: 53 kB / 1.053 GB, free: 3.473 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.4644, allocations: 0.7332 MB / 1.053 GB, free: 2.719 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4648, allocations: 0.7638 MB / 1.054 GB, free: 1.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.4649, allocations: 23.42 kB / 1.054 GB, free: 1.906 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.4649, allocations: 0 / 1.054 GB, free: 1.906 MB / 0.698 GB Notification: Performance of Templates: time 0.4099/0.8748, allocations: 6.473 MB / 1.06 GB, free: 154.4 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)