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.0008213/0.0008214, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005922/0.005922, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.739/1.739, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.719/1.719, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005151/0.0005151, allocations: 13.62 kB / 0.6744 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002588/0.2632, allocations: 2.109 MB / 0.7901 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6637/0.9269, allocations: 147.1 MB / 0.9337 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.9272, allocations: 3.031 kB / 0.9337 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.9276, allocations: 82.34 kB / 0.9338 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.9281, allocations: 209.7 kB / 0.934 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.9296, allocations: 0.5783 MB / 0.9346 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.93, allocations: 411.4 kB / 0.935 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.9301, allocations: 43.88 kB / 0.935 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.9303, allocations: 162.6 kB / 0.9352 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.9306, allocations: 189 kB / 0.9353 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.9306, allocations: 15.75 kB / 0.9354 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.9317, allocations: 0.6753 MB / 0.936 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.9318, allocations: 70.64 kB / 0.9361 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.932, allocations: 173.4 kB / 0.9362 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.9327, allocations: 0.6394 MB / 0.9369 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9327, allocations: 3.625 kB / 0.9369 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9327, allocations: 0 / 0.9369 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9327, allocations: 0 / 0.9369 GB, free: 1.277 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.001375/0.9341, allocations: 0.6792 MB / 0.9375 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.9342, allocations: 10.5 kB / 0.9375 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.9342, allocations: 45.03 kB / 0.9376 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.9357, allocations: 164.7 kB / 0.9377 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.9361, allocations: 314.2 kB / 0.938 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.9362, allocations: 52.19 kB / 0.9381 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.9363, allocations: 21.69 kB / 0.9381 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.9367, allocations: 209.8 kB / 0.9383 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9367, allocations: 5.391 kB / 0.9383 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.9367, allocations: 6.969 kB / 0.9383 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9367, allocations: 0 / 0.9383 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.937, allocations: 115.7 kB / 0.9384 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.9393, allocations: 1.013 MB / 0.9394 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.94, allocations: 164.4 kB / 0.9396 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.9402, allocations: 98.94 kB / 0.9397 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.9402, allocations: 6 kB / 0.9397 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.9406, allocations: 184.2 kB / 0.9399 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.9406, allocations: 0 / 0.9399 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003972/0.9446, allocations: 0.879 MB / 0.9407 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.9447, allocations: 84.55 kB / 0.9408 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.9452, allocations: 337.7 kB / 0.9411 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.9452, allocations: 31.39 kB / 0.9411 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.9454, allocations: 156.9 kB / 0.9413 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.9454, allocations: 58.72 kB / 0.9414 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.9455, allocations: 40.02 kB / 0.9414 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9457, allocations: 343.3 kB / 0.9417 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.946, allocations: 143.2 kB / 0.9419 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.9465, allocations: 222.7 kB / 0.9421 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.9471, allocations: 340.1 kB / 0.9424 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9471, allocations: 0 / 0.9424 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003776/0.9509, allocations: 0.8656 MB / 0.9432 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.951, allocations: 39.36 kB / 0.9433 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.951, allocations: 4.938 kB / 0.9433 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000912/0.9519, allocations: 206.9 kB / 0.9435 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.9522, allocations: 39.84 kB / 0.9435 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.9551, allocations: 2.24 MB / 0.9457 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.9556, allocations: 45.75 kB / 0.9457 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.9557, allocations: 20.66 kB / 0.9458 GB, free: 12.55 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.0002622/0.9559, allocations: 190.9 kB / 0.9459 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.956, allocations: 30.59 kB / 0.946 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.9561, allocations: 31.98 kB / 0.946 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9561, allocations: 2.094 kB / 0.946 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.9561, allocations: 0 / 0.946 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9561, allocations: 2.438 kB / 0.946 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.9596, allocations: 1.051 MB / 0.947 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.9596, allocations: 0.5 kB / 0.947 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.9596, allocations: 13.97 kB / 0.9471 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/0.96, allocations: 115.4 kB / 0.9472 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.96, allocations: 3.719 kB / 0.9472 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009691/0.961, allocations: 0.7554 MB / 0.9479 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.961, allocations: 0.5625 kB / 0.9479 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.9644, allocations: 0.8862 MB / 0.9488 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.9645, allocations: 135.7 kB / 0.9489 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.9646, allocations: 7.156 kB / 0.9489 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.9649, allocations: 12.95 kB / 0.9489 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.965, allocations: 17.34 kB / 0.9489 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.965, allocations: 11.28 kB / 0.9489 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003334/0.9654, allocations: 239.3 kB / 0.9492 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9654, allocations: 0 / 0.9492 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005893/0.966, allocations: 112.9 kB / 0.9493 GB, free: 10.95 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.001641/0.9676, allocations: 1.227 MB / 0.9505 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.9692, allocations: 0.5683 MB / 0.951 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9692, allocations: 0 / 0.951 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.97, allocations: 255.2 kB / 0.9513 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.9705, allocations: 61.52 kB / 0.9513 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.982, allocations: 4.468 MB / 0.9557 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.9824, allocations: 0.7575 MB / 0.9564 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.9826, allocations: 33.23 kB / 0.9565 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.9828, allocations: 83.02 kB / 0.9566 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.9828, allocations: 0 / 0.9566 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.529/3.512, allocations: 9.682 MB / 0.966 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/3.512, allocations: 270.2 kB / 0.9663 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/5.699, allocations: 0 / 0.9663 GB, free: 3.902 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 & /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)