Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_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.001394/0.001394, allocations: 105.4 kB / 15.7 MB, free: 24 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.00118/0.00118, allocations: 196.3 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 79.3 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2438, allocations: 114.5 MB / 0.7836 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003768/0.2476, allocations: 2.417 MB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6042/0.8518, allocations: 150.9 MB / 0.9334 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.8521, allocations: 7.719 kB / 0.9334 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.8525, allocations: 85.88 kB / 0.9335 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007834/0.8533, allocations: 240.5 kB / 0.9337 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.8551, allocations: 0.6507 MB / 0.9344 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.8556, allocations: 446.2 kB / 0.9348 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.8557, allocations: 45.97 kB / 0.9348 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.856, allocations: 178.7 kB / 0.935 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.8563, allocations: 207.4 kB / 0.9352 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.8564, allocations: 30.56 kB / 0.9352 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.8575, allocations: 0.6218 MB / 0.9358 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.8577, allocations: 77.98 kB / 0.9359 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.8578, allocations: 164.8 kB / 0.9361 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008958/0.8587, allocations: 0.6502 MB / 0.9367 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8587, allocations: 1.203 kB / 0.9367 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8588, allocations: 4 kB / 0.9367 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.8588, allocations: 0 / 0.9367 GB, free: 2.43 MB / 0.7169 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.001593/0.8604, allocations: 0.7441 MB / 0.9374 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8604, allocations: 7.812 kB / 0.9374 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.8605, allocations: 46.72 kB / 0.9375 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.862, allocations: 159.7 kB / 0.9376 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.8626, allocations: 321.6 kB / 0.9379 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.8627, allocations: 46.11 kB / 0.938 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.8627, allocations: 21.16 kB / 0.938 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.8631, allocations: 204.8 kB / 0.9382 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8632, allocations: 4.734 kB / 0.9382 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.8632, allocations: 3.625 kB / 0.9382 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8632, allocations: 9.078 kB / 0.9382 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.8635, allocations: 115.2 kB / 0.9383 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.8659, allocations: 0.9953 MB / 0.9393 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007996/0.8667, allocations: 165.8 kB / 0.9395 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.8669, allocations: 99.72 kB / 0.9396 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.867, allocations: 2.219 kB / 0.9396 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004026/0.8674, allocations: 184.8 kB / 0.9397 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 2.255e-06/0.8674, allocations: 4.75 kB / 0.9397 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004167/0.8716, allocations: 0.8587 MB / 0.9406 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.8717, allocations: 80.83 kB / 0.9407 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.8722, allocations: 338.9 kB / 0.941 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.8723, allocations: 38.7 kB / 0.941 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.8724, allocations: 154.5 kB / 0.9412 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.8725, allocations: 62.44 kB / 0.9412 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.8727, allocations: 80.27 kB / 0.9413 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.8728, allocations: 345.6 kB / 0.9416 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.8732, allocations: 135.2 kB / 0.9418 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.8736, allocations: 227.3 kB / 0.942 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.8743, allocations: 335 kB / 0.9423 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.8743, allocations: 0 / 0.9423 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003647/0.8779, allocations: 0.8517 MB / 0.9431 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.878, allocations: 40.94 kB / 0.9432 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.878, allocations: 1.5 kB / 0.9432 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/0.879, allocations: 202.1 kB / 0.9434 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.8793, allocations: 41.44 kB / 0.9434 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.8824, allocations: 2.342 MB / 0.9457 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.8829, allocations: 47.98 kB / 0.9457 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.883, allocations: 21.19 kB / 0.9458 GB, free: 13.61 MB / 0.7325 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.0002976/0.8833, allocations: 192.3 kB / 0.9459 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.8834, allocations: 30.75 kB / 0.946 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.8834, allocations: 29.22 kB / 0.946 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8834, allocations: 1.688 kB / 0.946 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8834, allocations: 8.438 kB / 0.946 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8834, allocations: 2.312 kB / 0.946 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.8866, allocations: 1.031 MB / 0.947 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.8866, allocations: 6.531 kB / 0.947 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.8867, allocations: 6 kB / 0.947 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/0.887, allocations: 110 kB / 0.9471 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.8871, allocations: 13.91 kB / 0.9471 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008875/0.8879, allocations: 0.7424 MB / 0.9479 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.888, allocations: 1.281 kB / 0.9479 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.8909, allocations: 0.8795 MB / 0.9487 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.8912, allocations: 134.2 kB / 0.9489 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.8912, allocations: 7.594 kB / 0.9489 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.8915, allocations: 12.88 kB / 0.9489 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.8916, allocations: 13 kB / 0.9489 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.8916, allocations: 8.438 kB / 0.9489 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003118/0.8919, allocations: 239.3 kB / 0.9491 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8919, allocations: 5.141 kB / 0.9491 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000568/0.8925, allocations: 111.8 kB / 0.9492 GB, free: 12.02 MB / 0.7325 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.0016/0.8941, allocations: 1.219 MB / 0.9504 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.8957, allocations: 0.5694 MB / 0.951 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8957, allocations: 8.812 kB / 0.951 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.8964, allocations: 253.1 kB / 0.9512 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.897, allocations: 64.92 kB / 0.9513 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.9077, allocations: 4.324 MB / 0.9555 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.9081, allocations: 0.7613 MB / 0.9563 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.9083, allocations: 26.97 kB / 0.9563 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.9084, allocations: 85.17 kB / 0.9564 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.9084, allocations: 0 / 0.9564 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.9406, allocations: 10.28 MB / 0.9664 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.32, allocations: 3.25 kB / 0.9664 GB, free: 5.852 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.csv --start-time 0 --stop-time 2400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)