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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.327/2.327, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 67.42 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2144, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003088/0.2175, allocations: 2.405 MB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.126/0.3435, allocations: 151 MB / 1.203 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.3437, allocations: 4 kB / 1.203 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.344, allocations: 95.42 kB / 1.203 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.3446, allocations: 230.6 kB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.346, allocations: 0.6517 MB / 1.204 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.3464, allocations: 438.6 kB / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3465, allocations: 48.7 kB / 1.204 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3467, allocations: 179.4 kB / 1.204 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.3469, allocations: 195.4 kB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.347, allocations: 28 kB / 1.204 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009477/0.348, allocations: 0.6317 MB / 1.205 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.3481, allocations: 79.73 kB / 1.205 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3482, allocations: 163.2 kB / 1.205 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007287/0.3489, allocations: 0.6506 MB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.349, allocations: 4 kB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.349, allocations: 0 / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.349, allocations: 0 / 1.206 GB, free: 10.95 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.001314/0.3503, allocations: 0.7377 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3503, allocations: 16.62 kB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.3504, allocations: 46.73 kB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3518, allocations: 164.4 kB / 1.207 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.3522, allocations: 310.5 kB / 1.207 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.3522, allocations: 45.7 kB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.3523, allocations: 16 kB / 1.207 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3527, allocations: 217.5 kB / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3527, allocations: 0 / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.3527, allocations: 8 kB / 1.207 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3527, allocations: 4 kB / 1.207 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.353, allocations: 120.1 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3551, allocations: 0.9886 MB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.3558, allocations: 170.5 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.356, allocations: 92.83 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3561, allocations: 8 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.3564, allocations: 194.5 kB / 1.209 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.3564, allocations: 0 / 1.209 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.003717/0.3601, allocations: 0.8626 MB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3602, allocations: 85.11 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.3605, allocations: 336.4 kB / 1.21 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.3605, allocations: 37.64 kB / 1.21 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.3606, allocations: 152.5 kB / 1.21 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.3607, allocations: 59.19 kB / 1.21 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3608, allocations: 89.94 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3609, allocations: 350.7 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.3612, allocations: 132.5 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3616, allocations: 217.4 kB / 1.211 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.3622, allocations: 340.9 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3622, allocations: 0 / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003329/0.3655, allocations: 0.8613 MB / 1.212 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.3655, allocations: 37.69 kB / 1.212 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3656, allocations: 0 / 1.212 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.3664, allocations: 197.5 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3666, allocations: 39.91 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.369, allocations: 2.345 MB / 1.215 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3694, allocations: 39.67 kB / 1.215 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.3695, allocations: 19.98 kB / 1.215 GB, free: 1.137 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.0001794/0.3697, allocations: 195.4 kB / 1.215 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.3697, allocations: 27.62 kB / 1.215 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.3698, allocations: 27.17 kB / 1.215 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3698, allocations: 4 kB / 1.215 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.3698, allocations: 3.938 kB / 1.215 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3698, allocations: 0 / 1.215 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.3727, allocations: 1.043 MB / 1.216 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3727, allocations: 0 / 1.216 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.3728, allocations: 8 kB / 1.216 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.373, allocations: 112.9 kB / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3731, allocations: 11.94 kB / 1.216 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000763/0.3738, allocations: 0.7536 MB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3738, allocations: 0 / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.3767, allocations: 0.8703 MB / 1.218 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3768, allocations: 132.7 kB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.3769, allocations: 8 kB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3771, allocations: 20.05 kB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3772, allocations: 11.97 kB / 1.218 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3772, allocations: 7.984 kB / 1.218 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002395/0.3775, allocations: 239 kB / 1.218 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3775, allocations: 0 / 1.218 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003976/0.3779, allocations: 116 kB / 1.218 GB, free: 13.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.001314/0.3792, allocations: 1.23 MB / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.3806, allocations: 0.5698 MB / 1.22 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3806, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.3813, allocations: 266.4 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3817, allocations: 66.55 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/0.3914, allocations: 4.369 MB / 1.225 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3917, allocations: 0.756 MB / 1.226 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.3918, allocations: 34.28 kB / 1.226 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.392, allocations: 83.41 kB / 1.226 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.392, allocations: 0 / 1.226 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.119/3.511, allocations: 10.22 MB / 1.236 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/17.7, allocations: 10.77 kB / 1.236 GB, free: 11.84 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)