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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001118/0.001118, allocations: 185.2 kB / 371.6 MB, free: 3.379 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.66/1.66, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009597/0.0009596, allocations: 90.05 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.945e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.918/6.203, allocations: 2.065 GB / 3.045 GB, free: 177.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/6.203, allocations: 97.75 kB / 3.045 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1022/6.306, allocations: 50.89 MB / 3.095 GB, free: 126.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.823e-06/6.306, allocations: 4 kB / 3.095 GB, free: 126.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.134e-05/6.306, allocations: 8 kB / 3.095 GB, free: 126.1 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.001326/6.307, allocations: 0.6487 MB / 3.096 GB, free: 125.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/6.307, allocations: 16.02 kB / 3.096 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/6.307, allocations: 46.52 kB / 3.096 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/6.309, allocations: 155.5 kB / 3.096 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/6.309, allocations: 302.5 kB / 3.096 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/6.309, allocations: 41.7 kB / 3.096 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/6.309, allocations: 23.91 kB / 3.096 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/6.31, allocations: 215.3 kB / 3.097 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/6.31, allocations: 0.5625 kB / 3.097 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/6.31, allocations: 8 kB / 3.097 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/6.31, allocations: 0 / 3.097 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/6.31, allocations: 120.1 kB / 3.097 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/6.312, allocations: 1.018 MB / 3.098 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/6.313, allocations: 170.4 kB / 3.098 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/6.313, allocations: 98.23 kB / 3.098 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/6.313, allocations: 4 kB / 3.098 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/6.313, allocations: 189 kB / 3.098 GB, free: 122.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/6.313, allocations: 0 / 3.098 GB, free: 122.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.002807/6.316, allocations: 0.6509 MB / 3.099 GB, free: 122.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/6.316, allocations: 85.11 kB / 3.099 GB, free: 122.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/6.316, allocations: 294.6 kB / 3.099 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/6.316, allocations: 29.7 kB / 3.099 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/6.317, allocations: 156.6 kB / 3.099 GB, free: 121.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/6.317, allocations: 55.25 kB / 3.099 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/6.317, allocations: 4 kB / 3.099 GB, free: 121.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/6.317, allocations: 350.8 kB / 3.1 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/6.317, allocations: 132.6 kB / 3.1 GB, free: 121.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/6.317, allocations: 201.5 kB / 3.1 GB, free: 120.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/6.317, allocations: 174.9 kB / 3.1 GB, free: 120.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/6.317, allocations: 4.844 kB / 3.1 GB, free: 120.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003183/6.321, allocations: 0.8454 MB / 3.101 GB, free: 119.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/6.321, allocations: 33.7 kB / 3.101 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/6.321, allocations: 3.984 kB / 3.101 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/6.321, allocations: 181.6 kB / 3.101 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/6.322, allocations: 39.91 kB / 3.101 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/6.324, allocations: 2.22 MB / 3.103 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/6.324, allocations: 39.67 kB / 3.103 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/6.324, allocations: 31.91 kB / 3.103 GB, free: 117.1 MB / 0.948 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.0001503/6.324, allocations: 151.4 kB / 3.104 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/6.325, allocations: 35.61 kB / 3.104 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/6.325, allocations: 26.92 kB / 3.104 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/6.325, allocations: 3.984 kB / 3.104 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/6.325, allocations: 0 / 3.104 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/6.325, allocations: 0 / 3.104 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/6.328, allocations: 1.04 MB / 3.105 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/6.328, allocations: 4 kB / 3.105 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/6.328, allocations: 10.23 kB / 3.105 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/6.328, allocations: 104.9 kB / 3.105 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/6.328, allocations: 7.984 kB / 3.105 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005735/6.328, allocations: 0.7303 MB / 3.105 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/6.328, allocations: 0 / 3.105 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/6.331, allocations: 0.8874 MB / 3.106 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/6.332, allocations: 136.6 kB / 3.106 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/6.332, allocations: 4 kB / 3.106 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/6.332, allocations: 15.98 kB / 3.107 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/6.332, allocations: 7.984 kB / 3.107 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/6.332, allocations: 15.98 kB / 3.107 GB, free: 113.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002287/6.332, allocations: 230.2 kB / 3.107 GB, free: 113.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/6.332, allocations: 64 / 3.107 GB, free: 113.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007939/6.333, allocations: 171.9 kB / 3.107 GB, free: 113.4 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) * 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.00175/6.335, allocations: 1.723 MB / 3.109 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00126/6.336, allocations: 0.5376 MB / 3.109 GB, free: 111.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/6.336, allocations: 0 / 3.109 GB, free: 111.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/6.337, allocations: 240.1 kB / 3.109 GB, free: 110.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/6.337, allocations: 62.48 kB / 3.109 GB, free: 110.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/6.338, allocations: 0.4968 MB / 3.11 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/6.338, allocations: 0.7716 MB / 3.111 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001558/6.338, allocations: 35.33 kB / 3.111 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/6.339, allocations: 83.39 kB / 3.111 GB, free: 109.3 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/6.339, allocations: 0 / 3.111 GB, free: 109.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/6.374, allocations: 21.4 MB / 3.132 GB, free: 88.12 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/6.374, allocations: 212 kB / 3.132 GB, free: 87.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/9.286, allocations: 2.578 kB / 3.132 GB, free: 87.9 MB / 0.948 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/linux/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)