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 2.632/2.632, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001564/0.001564, allocations: 171.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001081/0.001081, allocations: 99 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005292, allocations: 13.69 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.739/6.956, allocations: 2.064 GB / 3.043 GB, free: 195.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/6.956, allocations: 99.94 kB / 3.043 GB, free: 195.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1851/7.141, allocations: 50.69 MB / 3.092 GB, free: 152.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/7.141, allocations: 0 / 3.092 GB, free: 152.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.992e-05/7.142, allocations: 4 kB / 3.092 GB, free: 152.7 MB / 0.948 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.002152/7.144, allocations: 0.721 MB / 3.093 GB, free: 151.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/7.144, allocations: 16.03 kB / 3.093 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/7.144, allocations: 45.67 kB / 3.093 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/7.146, allocations: 149.8 kB / 3.093 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/7.147, allocations: 311 kB / 3.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/7.147, allocations: 47.12 kB / 3.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/7.148, allocations: 19.44 kB / 3.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/7.148, allocations: 229.5 kB / 3.094 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/7.148, allocations: 0 / 3.094 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/7.148, allocations: 6.438 kB / 3.094 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/7.148, allocations: 4 kB / 3.094 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/7.149, allocations: 128.8 kB / 3.094 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/7.153, allocations: 1.013 MB / 3.095 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/7.154, allocations: 171.5 kB / 3.095 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/7.154, allocations: 0 / 3.095 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/7.155, allocations: 204.9 kB / 3.095 GB, free: 149.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/7.155, allocations: 0 / 3.095 GB, free: 149.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.007845/7.163, allocations: 1.006 MB / 3.096 GB, free: 148.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/7.163, allocations: 85.11 kB / 3.096 GB, free: 148.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/7.164, allocations: 311.5 kB / 3.097 GB, free: 148.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/7.164, allocations: 29.7 kB / 3.097 GB, free: 148.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/7.164, allocations: 152.5 kB / 3.097 GB, free: 148.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/7.164, allocations: 59.2 kB / 3.097 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/7.164, allocations: 4 kB / 3.097 GB, free: 148.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001393/7.164, allocations: 346.8 kB / 3.097 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009441/7.165, allocations: 140.5 kB / 3.097 GB, free: 147.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/7.166, allocations: 225.4 kB / 3.098 GB, free: 147.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/7.167, allocations: 187 kB / 3.098 GB, free: 147.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/7.167, allocations: 4 kB / 3.098 GB, free: 147.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.007161/7.174, allocations: 0.8889 MB / 3.099 GB, free: 146.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/7.174, allocations: 37.69 kB / 3.099 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/7.174, allocations: 4.062 kB / 3.099 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/7.176, allocations: 209.5 kB / 3.099 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/7.177, allocations: 39.97 kB / 3.099 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/7.181, allocations: 2.248 MB / 3.101 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/7.182, allocations: 43.67 kB / 3.101 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/7.182, allocations: 23.97 kB / 3.101 GB, free: 143.6 MB / 0.948 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 ($whenCondition2,$PRE.eva.off,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.0003551/7.182, allocations: 191.5 kB / 3.101 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/7.182, allocations: 35.91 kB / 3.101 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/7.182, allocations: 27.17 kB / 3.101 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/7.182, allocations: 4 kB / 3.101 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/7.182, allocations: 3.984 kB / 3.101 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/7.182, allocations: 0 / 3.101 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/7.188, allocations: 1.083 MB / 3.103 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/7.188, allocations: 0 / 3.103 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/7.188, allocations: 4 kB / 3.103 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/7.189, allocations: 116.8 kB / 3.103 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/7.189, allocations: 7.984 kB / 3.103 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/7.191, allocations: 0.7653 MB / 3.103 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/7.191, allocations: 0 / 3.103 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/7.197, allocations: 0.9209 MB / 3.104 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/7.197, allocations: 136.7 kB / 3.104 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/7.197, allocations: 8 kB / 3.104 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/7.198, allocations: 19.92 kB / 3.104 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/7.198, allocations: 12.05 kB / 3.104 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/7.198, allocations: 15.98 kB / 3.104 GB, free: 140.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004187/7.198, allocations: 235 kB / 3.105 GB, free: 139.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.198, allocations: 3.938 kB / 3.105 GB, free: 139.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001011/7.199, allocations: 171.9 kB / 3.105 GB, free: 139.7 MB / 0.948 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.003524/7.203, allocations: 1.752 MB / 3.107 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004271/7.207, allocations: 0.5731 MB / 3.107 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/7.207, allocations: 0 / 3.107 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/7.21, allocations: 244.2 kB / 3.107 GB, free: 137 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/7.211, allocations: 61.05 kB / 3.107 GB, free: 137 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/7.216, allocations: 1.654 MB / 3.109 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/7.216, allocations: 0.7677 MB / 3.11 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004601/7.217, allocations: 34.23 kB / 3.11 GB, free: 134.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/7.217, allocations: 83.39 kB / 3.11 GB, free: 134.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.988e-06/7.217, allocations: 0 / 3.11 GB, free: 134.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07969/7.297, allocations: 19.45 MB / 3.129 GB, free: 115.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/7.297, allocations: 251.5 kB / 3.129 GB, free: 114.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/10.81, allocations: 4 kB / 3.129 GB, free: 114.9 MB / 0.948 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)