Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 180.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001038, allocations: 86.42 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 9.031 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 106.4 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.005/5.25, allocations: 2.183 GB / 3.083 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/5.25, allocations: 102.3 kB / 3.083 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6066/5.857, allocations: 50.22 MB / 3.132 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.555e-06/5.857, allocations: 0 / 3.132 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.318e-05/5.857, allocations: 4.562 kB / 3.132 GB, free: 313.4 MB / 0.8855 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.001534/5.859, allocations: 0.7077 MB / 3.133 GB, free: 313 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/5.859, allocations: 10.94 kB / 3.133 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/5.859, allocations: 44.56 kB / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/5.86, allocations: 154.3 kB / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/5.861, allocations: 317.4 kB / 3.133 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/5.861, allocations: 45.83 kB / 3.133 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/5.861, allocations: 21.44 kB / 3.133 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/5.862, allocations: 225.7 kB / 3.133 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/5.862, allocations: 0 / 3.133 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/5.862, allocations: 2.656 kB / 3.133 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/5.862, allocations: 9.453 kB / 3.133 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/5.862, allocations: 133.1 kB / 3.134 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/5.865, allocations: 1.021 MB / 3.135 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/5.866, allocations: 173 kB / 3.135 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/5.866, allocations: 1.531 kB / 3.135 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/5.866, allocations: 205.8 kB / 3.135 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.384e-06/5.866, allocations: 0 / 3.135 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.004763/5.871, allocations: 0.9953 MB / 3.136 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/5.871, allocations: 81.08 kB / 3.136 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/5.871, allocations: 308.2 kB / 3.136 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/5.872, allocations: 32.8 kB / 3.136 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/5.872, allocations: 145.6 kB / 3.136 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/5.872, allocations: 58.66 kB / 3.136 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/5.872, allocations: 5.469 kB / 3.136 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/5.872, allocations: 341 kB / 3.137 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/5.872, allocations: 149.6 kB / 3.137 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/5.873, allocations: 222.2 kB / 3.137 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/5.873, allocations: 187.6 kB / 3.137 GB, free: 311 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/5.873, allocations: 1.031 kB / 3.137 GB, free: 311 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004135/5.877, allocations: 0.8951 MB / 3.138 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/5.877, allocations: 36.12 kB / 3.138 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/5.877, allocations: 5.344 kB / 3.138 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009814/5.878, allocations: 202.8 kB / 3.138 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/5.879, allocations: 36.16 kB / 3.138 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/5.881, allocations: 2.252 MB / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/5.882, allocations: 57.41 kB / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/5.882, allocations: 17.12 kB / 3.141 GB, free: 309 MB / 0.8855 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.0002571/5.882, allocations: 193.9 kB / 3.141 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/5.882, allocations: 31.06 kB / 3.141 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/5.882, allocations: 29.67 kB / 3.141 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/5.882, allocations: 7.016 kB / 3.141 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/5.882, allocations: 0 / 3.141 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/5.882, allocations: 4.781 kB / 3.141 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/5.886, allocations: 1.077 MB / 3.142 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/5.886, allocations: 0 / 3.142 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/5.886, allocations: 5.719 kB / 3.142 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/5.886, allocations: 116.6 kB / 3.142 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/5.886, allocations: 11.64 kB / 3.142 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008125/5.887, allocations: 0.7506 MB / 3.143 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/5.887, allocations: 0 / 3.143 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/5.891, allocations: 0.93 MB / 3.144 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/5.891, allocations: 136.1 kB / 3.144 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/5.891, allocations: 6.625 kB / 3.144 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/5.891, allocations: 12.45 kB / 3.144 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/5.891, allocations: 15.59 kB / 3.144 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/5.891, allocations: 14.48 kB / 3.144 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002945/5.892, allocations: 236.8 kB / 3.144 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/5.892, allocations: 0 / 3.144 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008035/5.892, allocations: 168 kB / 3.144 GB, free: 307.4 MB / 0.8855 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.00232/5.895, allocations: 1.759 MB / 3.146 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001664/5.896, allocations: 0.5607 MB / 3.147 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/5.896, allocations: 0.9375 kB / 3.147 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008165/5.897, allocations: 254.7 kB / 3.147 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/5.898, allocations: 59.92 kB / 3.147 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/5.9, allocations: 1.64 MB / 3.149 GB, free: 305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/5.9, allocations: 0.7677 MB / 3.149 GB, free: 304.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002111/5.9, allocations: 35 kB / 3.149 GB, free: 304.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/5.901, allocations: 92.3 kB / 3.149 GB, free: 304.3 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/5.901, allocations: 0 / 3.149 GB, free: 304.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/5.938, allocations: 19.45 MB / 3.168 GB, free: 302.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/5.938, allocations: 261.2 kB / 3.169 GB, free: 302.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/8.51, allocations: 1.719 kB / 3.169 GB, free: 302.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)