Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.616/1.616, allocations: 287.4 MB / 302.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 182.1 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007104/0.0007105, allocations: 96.41 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 11.91 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002491/0.2303, allocations: 2.04 MB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6848/0.9151, allocations: 137.1 MB / 1.115 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.9155, allocations: 6.094 kB / 1.115 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.916, allocations: 79.17 kB / 1.115 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008483/0.9169, allocations: 203.8 kB / 1.115 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.9187, allocations: 0.5149 MB / 1.115 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.9194, allocations: 380.6 kB / 1.116 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.9196, allocations: 42.91 kB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.9199, allocations: 158.5 kB / 1.116 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.9203, allocations: 178 kB / 1.116 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.9204, allocations: 15.28 kB / 1.116 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.922, allocations: 0.5009 MB / 1.117 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.9222, allocations: 70.02 kB / 1.117 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.9224, allocations: 71.72 kB / 1.117 GB, free: 17.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008233/0.9232, allocations: 451.1 kB / 1.117 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9232, allocations: 2.641 kB / 1.117 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9232, allocations: 1.031 kB / 1.117 GB, free: 17.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9232, allocations: 0 / 1.117 GB, free: 17.45 MB / 0.698 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.001539/0.9248, allocations: 0.6825 MB / 1.118 GB, free: 16.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.9248, allocations: 10.62 kB / 1.118 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.9249, allocations: 45.72 kB / 1.118 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.9264, allocations: 161.9 kB / 1.118 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.9271, allocations: 318.9 kB / 1.118 GB, free: 16.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.9272, allocations: 53.45 kB / 1.118 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.9273, allocations: 18.69 kB / 1.119 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.9278, allocations: 208.1 kB / 1.119 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9278, allocations: 3.984 kB / 1.119 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.9279, allocations: 7.031 kB / 1.119 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.9279, allocations: 2.5 kB / 1.119 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.9282, allocations: 124.9 kB / 1.119 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.9311, allocations: 0.9945 MB / 1.12 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.9318, allocations: 167.9 kB / 1.12 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.9321, allocations: 98.5 kB / 1.12 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.9321, allocations: 6.359 kB / 1.12 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.9325, allocations: 195.8 kB / 1.12 GB, free: 15.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.815e-06/0.9325, allocations: 0 / 1.12 GB, free: 15.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00398/0.9365, allocations: 0.8743 MB / 1.121 GB, free: 15.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.9366, allocations: 83.03 kB / 1.121 GB, free: 15.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.9371, allocations: 340.1 kB / 1.122 GB, free: 15.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.9372, allocations: 34.14 kB / 1.122 GB, free: 15.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.9373, allocations: 154 kB / 1.122 GB, free: 15.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.9374, allocations: 60.31 kB / 1.122 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.9374, allocations: 3.25 kB / 1.122 GB, free: 15.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9376, allocations: 345.5 kB / 1.122 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.9379, allocations: 142.4 kB / 1.122 GB, free: 15.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.9383, allocations: 220.2 kB / 1.122 GB, free: 14.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.939, allocations: 338.5 kB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.939, allocations: 1.75 kB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003666/0.9427, allocations: 0.8718 MB / 1.124 GB, free: 14.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.9427, allocations: 35.84 kB / 1.124 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.9427, allocations: 1.859 kB / 1.124 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.9436, allocations: 208.1 kB / 1.124 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.9439, allocations: 38.12 kB / 1.124 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.9467, allocations: 2.234 MB / 1.126 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.9472, allocations: 47.84 kB / 1.126 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.9473, allocations: 20.66 kB / 1.126 GB, free: 12.75 MB / 0.698 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,$whenCondition2,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002621/0.9475, allocations: 188.2 kB / 1.126 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.9476, allocations: 30.41 kB / 1.126 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.9476, allocations: 35.05 kB / 1.126 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9476, allocations: 0 / 1.126 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.9477, allocations: 0 / 1.126 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9477, allocations: 2.656 kB / 1.126 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.9508, allocations: 1.053 MB / 1.127 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9508, allocations: 7 kB / 1.127 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.9509, allocations: 5.953 kB / 1.127 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.9512, allocations: 112.7 kB / 1.128 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.9512, allocations: 8.734 kB / 1.128 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008274/0.952, allocations: 0.7559 MB / 1.128 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9521, allocations: 0 / 1.128 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.9551, allocations: 0.8955 MB / 1.129 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.9553, allocations: 130.8 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.9554, allocations: 8.359 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.9556, allocations: 14.22 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.9557, allocations: 12.5 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.9557, allocations: 11.09 kB / 1.129 GB, free: 11.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003109/0.9561, allocations: 236.9 kB / 1.13 GB, free: 11.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9561, allocations: 0 / 1.13 GB, free: 11.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005978/0.9567, allocations: 109.5 kB / 1.13 GB, free: 11.14 MB / 0.698 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/0.9583, allocations: 1.228 MB / 1.131 GB, free: 10.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.9598, allocations: 0.5719 MB / 1.131 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9598, allocations: 0 / 1.131 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.9605, allocations: 257.3 kB / 1.132 GB, free: 10.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.9611, allocations: 56.28 kB / 1.132 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.9677, allocations: 2.525 MB / 1.134 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.968, allocations: 0.7626 MB / 1.135 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.9682, allocations: 32.83 kB / 1.135 GB, free: 8.621 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.9684, allocations: 86.53 kB / 1.135 GB, free: 8.617 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.9684, allocations: 0 / 1.135 GB, free: 8.617 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4953/1.464, allocations: 9.606 MB / 1.144 GB, free: 5.191 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/1.464, allocations: 254.3 kB / 1.145 GB, free: 4.855 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/3.694, allocations: 0 / 1.145 GB, free: 4.855 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)