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.001204/0.001204, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001085/0.001085, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.262/1.262, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.533/1.533, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001259/0.001259, allocations: 69.2 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1786, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003129/0.1818, allocations: 2.467 MB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4487/0.6305, allocations: 148.8 MB / 0.9307 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.6307, allocations: 4.781 kB / 0.9307 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.631, allocations: 79.98 kB / 0.9307 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.6315, allocations: 213.8 kB / 0.931 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.6327, allocations: 0.606 MB / 0.9315 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.6331, allocations: 433.4 kB / 0.932 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.6332, allocations: 52.16 kB / 0.932 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.6334, allocations: 181 kB / 0.9322 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.6336, allocations: 204 kB / 0.9324 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.6337, allocations: 30.09 kB / 0.9324 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008332/0.6345, allocations: 0.6444 MB / 0.933 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.6346, allocations: 83.73 kB / 0.9331 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.6348, allocations: 165.3 kB / 0.9333 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.6355, allocations: 0.6609 MB / 0.9339 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6355, allocations: 0 / 0.9339 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6355, allocations: 0 / 0.9339 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6355, allocations: 0 / 0.9339 GB, free: 5.801 MB / 0.7325 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.00136/0.6368, allocations: 0.7441 MB / 0.9346 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.6369, allocations: 12.5 kB / 0.9347 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.6369, allocations: 47.06 kB / 0.9347 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.6384, allocations: 160.8 kB / 0.9348 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.6387, allocations: 315.5 kB / 0.9352 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.6388, allocations: 44.06 kB / 0.9352 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.6388, allocations: 17.5 kB / 0.9352 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.6392, allocations: 208.8 kB / 0.9354 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.6392, allocations: 0.6562 kB / 0.9354 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.6392, allocations: 10.09 kB / 0.9354 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6392, allocations: 2.688 kB / 0.9354 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.6395, allocations: 124 kB / 0.9355 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.6417, allocations: 1.001 MB / 0.9365 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.6424, allocations: 162.3 kB / 0.9367 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.6425, allocations: 93.98 kB / 0.9368 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.6426, allocations: 12.72 kB / 0.9368 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.6429, allocations: 186.1 kB / 0.937 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.6429, allocations: 0 / 0.937 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.003844/0.6468, allocations: 0.861 MB / 0.9378 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.6468, allocations: 84.02 kB / 0.9379 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.6471, allocations: 336.5 kB / 0.9382 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.6472, allocations: 32.2 kB / 0.9382 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.6473, allocations: 158.5 kB / 0.9384 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.6473, allocations: 54.94 kB / 0.9384 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.6475, allocations: 87.73 kB / 0.9385 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6476, allocations: 343.7 kB / 0.9388 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.6479, allocations: 136.4 kB / 0.939 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.6482, allocations: 223.3 kB / 0.9392 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.6487, allocations: 334.1 kB / 0.9395 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6487, allocations: 5.219 kB / 0.9395 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003391/0.6521, allocations: 0.8506 MB / 0.9403 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.6522, allocations: 36.44 kB / 0.9404 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.6522, allocations: 0 / 0.9404 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/0.653, allocations: 205.1 kB / 0.9406 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.6532, allocations: 42.48 kB / 0.9406 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.6557, allocations: 2.34 MB / 0.9429 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.6561, allocations: 46.08 kB / 0.9429 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.6562, allocations: 20.95 kB / 0.943 GB, free: 17.04 MB / 0.7481 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.0001834/0.6564, allocations: 191.6 kB / 0.9431 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.6564, allocations: 28.75 kB / 0.9432 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.6565, allocations: 29.83 kB / 0.9432 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.6565, allocations: 2.938 kB / 0.9432 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.6565, allocations: 3.938 kB / 0.9432 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6565, allocations: 0.7969 kB / 0.9432 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.6595, allocations: 1.038 MB / 0.9442 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6595, allocations: 0 / 0.9442 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.6596, allocations: 7.484 kB / 0.9442 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.6599, allocations: 118.8 kB / 0.9443 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.6599, allocations: 10.45 kB / 0.9443 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008019/0.6607, allocations: 0.7506 MB / 0.9451 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6607, allocations: 0.7031 kB / 0.9451 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.6637, allocations: 0.8678 MB / 0.9459 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6638, allocations: 136.6 kB / 0.9461 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.6639, allocations: 6.625 kB / 0.9461 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.6641, allocations: 16.28 kB / 0.9461 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.6642, allocations: 13.36 kB / 0.9461 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.6642, allocations: 8.859 kB / 0.9461 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002559/0.6645, allocations: 234.7 kB / 0.9463 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.02e-07/0.6645, allocations: 1.062 kB / 0.9463 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004194/0.6649, allocations: 112.9 kB / 0.9464 GB, free: 15.48 MB / 0.7481 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.001461/0.6664, allocations: 1.227 MB / 0.9476 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.6678, allocations: 0.5756 MB / 0.9482 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6678, allocations: 0 / 0.9482 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.6685, allocations: 251.3 kB / 0.9484 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.669, allocations: 69.31 kB / 0.9485 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.6793, allocations: 4.419 MB / 0.9528 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.6796, allocations: 0.7558 MB / 0.9536 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.6797, allocations: 29.75 kB / 0.9536 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.915e-05/0.6798, allocations: 85 kB / 0.9537 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.6798, allocations: 0 / 0.9537 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.071/2.751, allocations: 10.12 MB / 0.9635 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1269/2.878, allocations: 273.3 kB / 0.9638 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/5.157, allocations: 3.375 kB / 0.9638 GB, free: 10.85 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --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)