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.442/1.442, allocations: 249.3 MB / 261.8 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 178.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009699/0.0009699, allocations: 86.53 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.367e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.309/6.554, allocations: 2.183 GB / 3.074 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/6.554, allocations: 97.02 kB / 3.075 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.102/6.656, allocations: 50.14 MB / 3.123 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/6.656, allocations: 0 / 3.123 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.223e-05/6.656, allocations: 4 kB / 3.123 GB, free: 136.4 MB / 0.8698 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.001347/6.657, allocations: 0.6671 MB / 3.124 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/6.657, allocations: 8.031 kB / 3.124 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/6.657, allocations: 46.56 kB / 3.124 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/6.659, allocations: 155.5 kB / 3.124 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/6.66, allocations: 298.5 kB / 3.125 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/6.66, allocations: 41.7 kB / 3.125 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/6.66, allocations: 32 kB / 3.125 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/6.66, allocations: 220 kB / 3.125 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/6.66, allocations: 0 / 3.125 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/6.66, allocations: 4 kB / 3.125 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/6.66, allocations: 4 kB / 3.125 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/6.661, allocations: 112.2 kB / 3.125 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/6.663, allocations: 1.016 MB / 3.126 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/6.664, allocations: 166.5 kB / 3.126 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/6.664, allocations: 98.55 kB / 3.126 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/6.664, allocations: 0 / 3.126 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/6.665, allocations: 193 kB / 3.126 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/6.665, allocations: 3.984 kB / 3.126 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002914/6.668, allocations: 0.6464 MB / 3.127 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/6.668, allocations: 81.11 kB / 3.127 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/6.668, allocations: 294.6 kB / 3.127 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/6.668, allocations: 37.7 kB / 3.127 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/6.668, allocations: 152.6 kB / 3.128 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/6.668, allocations: 55.25 kB / 3.128 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/6.668, allocations: 8 kB / 3.128 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/6.668, allocations: 346.8 kB / 3.128 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/6.668, allocations: 128.6 kB / 3.128 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/6.669, allocations: 213.4 kB / 3.128 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/6.669, allocations: 171 kB / 3.129 GB, free: 131 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/6.669, allocations: 4 kB / 3.129 GB, free: 131 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003298/6.672, allocations: 0.8454 MB / 3.129 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/6.672, allocations: 33.7 kB / 3.129 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/6.672, allocations: 0 / 3.129 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/6.673, allocations: 181.6 kB / 3.13 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/6.673, allocations: 43.91 kB / 3.13 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/6.676, allocations: 2.211 MB / 3.132 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/6.676, allocations: 47.67 kB / 3.132 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/6.676, allocations: 19.97 kB / 3.132 GB, free: 127.4 MB / 0.8698 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = false 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 () * 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.0001635/6.676, allocations: 170.7 kB / 3.132 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/6.677, allocations: 31.58 kB / 3.132 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/6.677, allocations: 22.97 kB / 3.132 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/6.677, allocations: 7.984 kB / 3.132 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/6.677, allocations: 0 / 3.132 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/6.677, allocations: 0 / 3.132 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/6.68, allocations: 1.034 MB / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/6.68, allocations: 0 / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/6.68, allocations: 23.86 kB / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/6.68, allocations: 104.9 kB / 3.133 GB, free: 126 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/6.68, allocations: 7.984 kB / 3.133 GB, free: 126 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/6.681, allocations: 0.7225 MB / 3.134 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/6.681, allocations: 0 / 3.134 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/6.683, allocations: 0.8866 MB / 3.135 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/6.684, allocations: 140.7 kB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/6.684, allocations: 4 kB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/6.684, allocations: 15.98 kB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/6.684, allocations: 15.91 kB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/6.684, allocations: 15.98 kB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003002/6.684, allocations: 226.2 kB / 3.135 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/6.684, allocations: 4.062 kB / 3.135 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009147/6.685, allocations: 171.9 kB / 3.135 GB, free: 123.7 MB / 0.8698 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) * 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.002189/6.687, allocations: 1.706 MB / 3.137 GB, free: 122 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001685/6.689, allocations: 0.5342 MB / 3.137 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/6.689, allocations: 0 / 3.137 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007687/6.69, allocations: 236.3 kB / 3.138 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/6.691, allocations: 61.11 kB / 3.138 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/6.692, allocations: 0.5161 MB / 3.138 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/6.692, allocations: 0.7677 MB / 3.139 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002064/6.693, allocations: 22.08 kB / 3.139 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/6.693, allocations: 87.39 kB / 3.139 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.273e-06/6.693, allocations: 7.938 kB / 3.139 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/6.733, allocations: 21.4 MB / 3.16 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/6.733, allocations: 229 kB / 3.16 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/9.543, allocations: 3.234 kB / 3.16 GB, free: 98.22 MB / 0.8698 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)