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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001627/0.001627, allocations: 194 kB / 16.14 MB, free: 6.711 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001379, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5118, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002844/0.5147, allocations: 2.449 MB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.6588, allocations: 148.7 MB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.659, allocations: 8 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.6594, allocations: 83.55 kB / 1.097 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.66, allocations: 199 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.6614, allocations: 0.597 MB / 1.098 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.6618, allocations: 402.6 kB / 1.098 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.662, allocations: 48.72 kB / 1.098 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.6622, allocations: 171.4 kB / 1.098 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.6625, allocations: 187.4 kB / 1.098 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.6625, allocations: 16 kB / 1.098 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.6636, allocations: 0.6745 MB / 1.099 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.6637, allocations: 75.72 kB / 1.099 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.6639, allocations: 147.2 kB / 1.099 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.6647, allocations: 0.6582 MB / 1.1 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6648, allocations: 0 / 1.1 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6648, allocations: 3.938 kB / 1.1 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.6648, allocations: 0 / 1.1 GB, free: 7.18 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.001476/0.6663, allocations: 0.7378 MB / 1.101 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6663, allocations: 8.031 kB / 1.101 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.6664, allocations: 54.73 kB / 1.101 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.668, allocations: 156.2 kB / 1.101 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.6684, allocations: 314.2 kB / 1.101 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.6685, allocations: 49.69 kB / 1.101 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.6685, allocations: 20 kB / 1.101 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.6689, allocations: 204.1 kB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6689, allocations: 0 / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.669, allocations: 11.94 kB / 1.101 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.669, allocations: 0 / 1.101 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.6693, allocations: 120.1 kB / 1.101 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.6717, allocations: 0.9924 MB / 1.102 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.6725, allocations: 158.4 kB / 1.103 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.6727, allocations: 100.8 kB / 1.103 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.6728, allocations: 0 / 1.103 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.6732, allocations: 198.3 kB / 1.103 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.6732, allocations: 0 / 1.103 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004247/0.6774, allocations: 0.8647 MB / 1.104 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.6775, allocations: 85.11 kB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.6779, allocations: 340.4 kB / 1.104 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.6779, allocations: 33.7 kB / 1.104 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6781, allocations: 148.6 kB / 1.104 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.6781, allocations: 59.14 kB / 1.104 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.6783, allocations: 89.84 kB / 1.104 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6784, allocations: 346.8 kB / 1.105 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.6787, allocations: 136.5 kB / 1.105 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.6791, allocations: 213.4 kB / 1.105 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.6798, allocations: 344.9 kB / 1.105 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6798, allocations: 0 / 1.105 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003887/0.6837, allocations: 0.8638 MB / 1.106 GB, free: 244 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.6837, allocations: 37.69 kB / 1.106 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6837, allocations: 3.938 kB / 1.106 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009702/0.6847, allocations: 197.6 kB / 1.106 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.685, allocations: 43.86 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.6878, allocations: 2.224 MB / 1.109 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.6883, allocations: 51.5 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.6883, allocations: 19.98 kB / 1.109 GB, free: 13.5 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.0002127/0.6885, allocations: 185.3 kB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.6886, allocations: 31.62 kB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.6887, allocations: 31.17 kB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.6887, allocations: 8 kB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.6887, allocations: 0 / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6887, allocations: 7.922 kB / 1.109 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.6921, allocations: 1.029 MB / 1.11 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6921, allocations: 0 / 1.11 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.6921, allocations: 8 kB / 1.11 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.6925, allocations: 124.7 kB / 1.11 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.6925, allocations: 11.98 kB / 1.11 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008763/0.6934, allocations: 0.7422 MB / 1.111 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6934, allocations: 4 kB / 1.111 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.6967, allocations: 0.8775 MB / 1.112 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6968, allocations: 140.6 kB / 1.112 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.6969, allocations: 4 kB / 1.112 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.6972, allocations: 15.98 kB / 1.112 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.6972, allocations: 7.984 kB / 1.112 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.6973, allocations: 8 kB / 1.112 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002738/0.6975, allocations: 247.1 kB / 1.112 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6975, allocations: 3.938 kB / 1.112 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004702/0.698, allocations: 108 kB / 1.112 GB, free: 9.77 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.001523/0.6996, allocations: 1.228 MB / 1.113 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.7011, allocations: 0.5535 MB / 1.114 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7011, allocations: 0 / 1.114 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.7019, allocations: 248 kB / 1.114 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.7024, allocations: 68.98 kB / 1.114 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.7136, allocations: 4.421 MB / 1.119 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.7139, allocations: 0.756 MB / 1.119 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.7141, allocations: 26.3 kB / 1.119 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.7142, allocations: 89.77 kB / 1.119 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.7142, allocations: 3.938 kB / 1.119 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.823/4.537, allocations: 9.804 MB / 1.129 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/4.538, allocations: 278.1 kB / 1.129 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/6.589, allocations: 2.344 kB / 1.129 GB, free: 8.266 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)