Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.001429/0.001429, 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.001596/0.001596, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5166, allocations: 140.3 MB / 0.9497 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002852/0.5195, allocations: 2.411 MB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1301/0.6497, allocations: 151 MB / 1.099 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.6499, allocations: 3.938 kB / 1.1 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.6502, allocations: 91.48 kB / 1.1 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.6508, allocations: 242.5 kB / 1.1 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.6521, allocations: 0.6424 MB / 1.1 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.6525, allocations: 442.5 kB / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.6527, allocations: 48.72 kB / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.6528, allocations: 175.5 kB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.6531, allocations: 203.3 kB / 1.101 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.6532, allocations: 28 kB / 1.101 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009517/0.6541, allocations: 0.6317 MB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.6543, allocations: 79.72 kB / 1.102 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.6544, allocations: 163.2 kB / 1.102 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007568/0.6552, allocations: 0.6505 MB / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6552, allocations: 0 / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6552, allocations: 0 / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6552, allocations: 0 / 1.103 GB, free: 4.5 MB / 0.8575 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.001326/0.6565, allocations: 0.744 MB / 1.104 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.6566, allocations: 8.031 kB / 1.104 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.6566, allocations: 50.67 kB / 1.104 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.6581, allocations: 160.1 kB / 1.104 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.6585, allocations: 306.2 kB / 1.104 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.6585, allocations: 49.69 kB / 1.104 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.6586, allocations: 23.94 kB / 1.104 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.6589, allocations: 212.1 kB / 1.104 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.659, allocations: 0 / 1.104 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.659, allocations: 7.984 kB / 1.104 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.659, allocations: 4 kB / 1.104 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.6592, allocations: 116.1 kB / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.6614, allocations: 0.9924 MB / 1.105 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.6621, allocations: 166.5 kB / 1.106 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.6624, allocations: 104.8 kB / 1.106 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.6624, allocations: 0 / 1.106 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.6627, allocations: 185 kB / 1.106 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.6627, allocations: 0 / 1.106 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.003772/0.6665, allocations: 0.8704 MB / 1.107 GB, free: 288 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.6666, allocations: 81.11 kB / 1.107 GB, free: 188 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.6669, allocations: 344.4 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.667, allocations: 33.7 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.6671, allocations: 148.6 kB / 1.107 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.6671, allocations: 67.12 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.6673, allocations: 89.84 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.6674, allocations: 342.8 kB / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.6677, allocations: 132.5 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.6681, allocations: 221.3 kB / 1.108 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.6686, allocations: 337 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6686, allocations: 0 / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003394/0.672, allocations: 0.8604 MB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.6721, allocations: 43.25 kB / 1.109 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6721, allocations: 3.938 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008287/0.6729, allocations: 197.7 kB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.6732, allocations: 39.91 kB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1528/0.8259, allocations: 2.339 MB / 1.112 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.8264, allocations: 39.67 kB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.8265, allocations: 23.92 kB / 1.112 GB, free: 10.7 MB / 0.8731 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.0002276/0.8267, allocations: 196 kB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.8268, allocations: 31.62 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.8269, allocations: 23.19 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8269, allocations: 7.922 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.8269, allocations: 0 / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8269, allocations: 0 / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.83, allocations: 1.041 MB / 1.113 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.83, allocations: 3.984 kB / 1.113 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.8301, allocations: 11.88 kB / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.8304, allocations: 112.8 kB / 1.113 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.8304, allocations: 11.98 kB / 1.113 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007936/0.8312, allocations: 0.742 MB / 1.114 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8312, allocations: 0 / 1.114 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.8342, allocations: 0.8858 MB / 1.115 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.8343, allocations: 132.7 kB / 1.115 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.8344, allocations: 12.06 kB / 1.115 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.8346, allocations: 11.98 kB / 1.115 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.8347, allocations: 11.98 kB / 1.115 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.8347, allocations: 11.98 kB / 1.115 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002503/0.835, allocations: 239 kB / 1.115 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.835, allocations: 0 / 1.115 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004162/0.8354, allocations: 108 kB / 1.115 GB, free: 6.973 MB / 0.8731 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.001425/0.8369, allocations: 1.228 MB / 1.117 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.8383, allocations: 0.5812 MB / 1.117 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8383, allocations: 0 / 1.117 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.839, allocations: 252.2 kB / 1.117 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.8395, allocations: 60.92 kB / 1.117 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.8497, allocations: 4.374 MB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.8499, allocations: 0.756 MB / 1.122 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.8501, allocations: 38.22 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.8502, allocations: 87.39 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of SimCode: time 1.282e-06/0.8502, allocations: 0 / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/2.007, allocations: 10.23 MB / 1.133 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/14.18, allocations: 17.28 kB / 1.133 GB, free: 5.391 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)