Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001284/0.001284, allocations: 177 kB / 371.8 MB, free: 10.28 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.783/1.783, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009994/0.0009996, allocations: 93.16 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 16.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.129/5.377, allocations: 2.065 GB / 3.044 GB, free: 207.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/5.378, allocations: 104.4 kB / 3.044 GB, free: 207.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.108/5.486, allocations: 50.97 MB / 3.094 GB, free: 164.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.756e-06/5.486, allocations: 0 / 3.094 GB, free: 164.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.919e-05/5.486, allocations: 8 kB / 3.094 GB, free: 164.4 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.001629/5.487, allocations: 0.7062 MB / 3.095 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/5.487, allocations: 12.02 kB / 3.095 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.232e-05/5.488, allocations: 48.95 kB / 3.095 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/5.489, allocations: 155.5 kB / 3.095 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/5.49, allocations: 311.9 kB / 3.095 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/5.49, allocations: 48.94 kB / 3.095 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/5.49, allocations: 19.81 kB / 3.095 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/5.49, allocations: 217 kB / 3.095 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/5.49, allocations: 0 / 3.095 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/5.49, allocations: 11.55 kB / 3.095 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/5.49, allocations: 0 / 3.095 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/5.491, allocations: 135 kB / 3.096 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/5.493, allocations: 1.014 MB / 3.097 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/5.494, allocations: 172.8 kB / 3.097 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/5.494, allocations: 15.95 kB / 3.097 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/5.494, allocations: 206.3 kB / 3.097 GB, free: 161.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 3.045e-06/5.494, allocations: 0 / 3.097 GB, free: 161.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.004491/5.499, allocations: 0.993 MB / 3.098 GB, free: 160.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/5.499, allocations: 81.11 kB / 3.098 GB, free: 160.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/5.499, allocations: 308.5 kB / 3.098 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.722e-05/5.499, allocations: 34.77 kB / 3.098 GB, free: 160.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/5.5, allocations: 150 kB / 3.098 GB, free: 160.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/5.5, allocations: 54.75 kB / 3.098 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/5.5, allocations: 8.75 kB / 3.098 GB, free: 160.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/5.5, allocations: 342.8 kB / 3.099 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/5.5, allocations: 149.7 kB / 3.099 GB, free: 159.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/5.501, allocations: 219.3 kB / 3.099 GB, free: 159.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/5.501, allocations: 192.7 kB / 3.099 GB, free: 159.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/5.501, allocations: 0 / 3.099 GB, free: 159.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003823/5.505, allocations: 0.8991 MB / 3.1 GB, free: 158.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/5.505, allocations: 37.69 kB / 3.1 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/5.505, allocations: 4 kB / 3.1 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000941/5.506, allocations: 201.5 kB / 3.1 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/5.506, allocations: 39.91 kB / 3.1 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/5.509, allocations: 2.257 MB / 3.103 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/5.509, allocations: 47.67 kB / 3.103 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/5.509, allocations: 19.98 kB / 3.103 GB, free: 155.8 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.0002943/5.51, allocations: 183.5 kB / 3.103 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/5.51, allocations: 31.58 kB / 3.103 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/5.51, allocations: 31.17 kB / 3.103 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/5.51, allocations: 4 kB / 3.103 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/5.51, allocations: 0 / 3.103 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/5.51, allocations: 0 / 3.103 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/5.513, allocations: 1.075 MB / 3.104 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/5.513, allocations: 8 kB / 3.104 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/5.513, allocations: 4 kB / 3.104 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/5.514, allocations: 121 kB / 3.104 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/5.514, allocations: 7.938 kB / 3.104 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/5.514, allocations: 0.7615 MB / 3.105 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/5.514, allocations: 0 / 3.105 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/5.518, allocations: 0.9288 MB / 3.106 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/5.518, allocations: 136.7 kB / 3.106 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/5.518, allocations: 12.06 kB / 3.106 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/5.518, allocations: 11.98 kB / 3.106 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/5.519, allocations: 11.98 kB / 3.106 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/5.519, allocations: 8 kB / 3.106 GB, free: 152.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002831/5.519, allocations: 243 kB / 3.106 GB, free: 152 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/5.519, allocations: 0 / 3.106 GB, free: 152 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008244/5.52, allocations: 159.9 kB / 3.106 GB, free: 151.9 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.002194/5.522, allocations: 1.754 MB / 3.108 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001671/5.524, allocations: 0.5693 MB / 3.109 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/5.524, allocations: 4.062 kB / 3.109 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/5.524, allocations: 252.1 kB / 3.109 GB, free: 149.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/5.525, allocations: 57.06 kB / 3.109 GB, free: 149.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/5.527, allocations: 1.653 MB / 3.111 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/5.527, allocations: 0.7754 MB / 3.111 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002072/5.527, allocations: 34.22 kB / 3.111 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/5.528, allocations: 79.41 kB / 3.111 GB, free: 146.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/5.528, allocations: 0 / 3.111 GB, free: 146.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/5.569, allocations: 19.46 MB / 3.13 GB, free: 127.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/5.569, allocations: 256 kB / 3.131 GB, free: 127 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/8.146, allocations: 0 / 3.131 GB, free: 127 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)