Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009738, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00787/0.00787, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 19.59 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2374, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002115/0.2396, allocations: 2.092 MB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1226/0.3622, allocations: 147.1 MB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.3624, allocations: 0 / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3627, allocations: 91.55 kB / 1.205 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.3632, allocations: 210.9 kB / 1.205 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3646, allocations: 0.5782 MB / 1.205 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.365, allocations: 410.6 kB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.3651, allocations: 40.73 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3653, allocations: 171.4 kB / 1.206 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3656, allocations: 179.4 kB / 1.206 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.3656, allocations: 20 kB / 1.206 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009808/0.3666, allocations: 0.6667 MB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.3667, allocations: 83.59 kB / 1.207 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3668, allocations: 168.9 kB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.3676, allocations: 0.6504 MB / 1.208 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3676, allocations: 0 / 1.208 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3676, allocations: 0 / 1.208 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3676, allocations: 7.938 kB / 1.208 GB, free: 11.82 MB / 0.9669 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.001244/0.3689, allocations: 0.6833 MB / 1.208 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3689, allocations: 8.031 kB / 1.208 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.3689, allocations: 50.73 kB / 1.208 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.3704, allocations: 160.4 kB / 1.209 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3708, allocations: 310.5 kB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.3708, allocations: 53.64 kB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.3709, allocations: 16 kB / 1.209 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.3712, allocations: 204.1 kB / 1.209 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3713, allocations: 4 kB / 1.209 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3713, allocations: 4 kB / 1.209 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3713, allocations: 7.984 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3715, allocations: 128.1 kB / 1.209 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.3737, allocations: 0.9964 MB / 1.21 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.3745, allocations: 174.4 kB / 1.21 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.3747, allocations: 96.81 kB / 1.21 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3747, allocations: 4 kB / 1.21 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.375, allocations: 193.1 kB / 1.211 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.375, allocations: 0 / 1.211 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.003862/0.3789, allocations: 0.8763 MB / 1.212 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.379, allocations: 81.11 kB / 1.212 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.3796, allocations: 340.4 kB / 1.212 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.3797, allocations: 37.7 kB / 1.212 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3799, allocations: 148.6 kB / 1.212 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.38, allocations: 59.19 kB / 1.212 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.3801, allocations: 41.7 kB / 1.212 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3802, allocations: 342.8 kB / 1.213 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.3807, allocations: 140.5 kB / 1.213 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.3813, allocations: 221.3 kB / 1.213 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3823, allocations: 340.6 kB / 1.213 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3823, allocations: 0 / 1.213 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.005933/0.3883, allocations: 0.8807 MB / 1.214 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.3884, allocations: 39.41 kB / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3884, allocations: 0 / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.3898, allocations: 209.7 kB / 1.214 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.3901, allocations: 43.84 kB / 1.214 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.3944, allocations: 2.225 MB / 1.217 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.3951, allocations: 43.58 kB / 1.217 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.3951, allocations: 23.97 kB / 1.217 GB, free: 2.168 MB / 0.9669 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.0003278/0.3955, allocations: 202.3 kB / 1.217 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.3956, allocations: 27.62 kB / 1.217 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.3956, allocations: 31.36 kB / 1.217 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3957, allocations: 4 kB / 1.217 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3957, allocations: 3.984 kB / 1.217 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3957, allocations: 0 / 1.217 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.4009, allocations: 1.048 MB / 1.218 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.401, allocations: 4 kB / 1.218 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.401, allocations: 8 kB / 1.218 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.4015, allocations: 116.8 kB / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.4016, allocations: 11.98 kB / 1.218 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.4029, allocations: 0.7537 MB / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.403, allocations: 4 kB / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.408, allocations: 0.8816 MB / 1.22 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.4082, allocations: 140.6 kB / 1.22 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.4083, allocations: 7.984 kB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.4088, allocations: 20 kB / 1.22 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4088, allocations: 11.98 kB / 1.22 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.4089, allocations: 11.98 kB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004377/0.4093, allocations: 235 kB / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4093, allocations: 0 / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007062/0.4101, allocations: 116 kB / 1.22 GB, free: 14.41 MB / 0.9825 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.002257/0.4123, allocations: 1.223 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.4145, allocations: 0.5657 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4146, allocations: 4.062 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4157, allocations: 244.6 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.4165, allocations: 59.06 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.4335, allocations: 4.5 MB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4339, allocations: 0.7599 MB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.4341, allocations: 30.28 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.4343, allocations: 83.41 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.4343, allocations: 3.938 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.211/4.645, allocations: 9.673 MB / 1.237 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/4.645, allocations: 268.6 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.758/9.403, allocations: 0 / 1.237 GB, free: 12.98 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)