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.586/1.586, allocations: 285.4 MB / 298 MB, free: 5.996 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.001271/0.001271, allocations: 180.8 kB / 366.4 MB, free: 2.059 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.54/1.54, allocations: 205.1 MB / 0.6248 GB, free: 7.688 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.001004/0.001004, allocations: 87.27 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.978e-05/4.989e-05, allocations: 8 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6703, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.622, allocations: 2.064 GB / 3.035 GB, free: 28.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/5.622, allocations: 103.5 kB / 3.036 GB, free: 28.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7225/6.344, allocations: 50.89 MB / 3.085 GB, free: 329.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.235e-06/6.344, allocations: 0 / 3.085 GB, free: 329.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.751e-05/6.344, allocations: 3.938 kB / 3.085 GB, free: 329.3 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.001679/6.346, allocations: 0.6542 MB / 3.086 GB, free: 328.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/6.346, allocations: 10.55 kB / 3.086 GB, free: 328.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/6.346, allocations: 47.81 kB / 3.086 GB, free: 328.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/6.348, allocations: 154 kB / 3.086 GB, free: 328.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/6.349, allocations: 310.1 kB / 3.086 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/6.349, allocations: 48.7 kB / 3.086 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/6.349, allocations: 21.48 kB / 3.086 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/6.349, allocations: 204.3 kB / 3.087 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/6.349, allocations: 2.625 kB / 3.087 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/6.349, allocations: 6.875 kB / 3.087 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/6.349, allocations: 3.875 kB / 3.087 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/6.349, allocations: 120.2 kB / 3.087 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/6.352, allocations: 1.011 MB / 3.088 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/6.353, allocations: 160.6 kB / 3.088 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/6.353, allocations: 98.55 kB / 3.088 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/6.353, allocations: 0 / 3.088 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/6.353, allocations: 199.5 kB / 3.088 GB, free: 327.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 3.757e-06/6.353, allocations: 0 / 3.088 GB, free: 327.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.003254/6.357, allocations: 0.6521 MB / 3.089 GB, free: 327.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/6.357, allocations: 81.86 kB / 3.089 GB, free: 327.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/6.357, allocations: 299.6 kB / 3.089 GB, free: 327.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/6.357, allocations: 39.7 kB / 3.089 GB, free: 327.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/6.357, allocations: 148.2 kB / 3.089 GB, free: 327.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/6.358, allocations: 61.25 kB / 3.089 GB, free: 327.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/6.358, allocations: 2.812 kB / 3.089 GB, free: 327.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/6.358, allocations: 346.1 kB / 3.09 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/6.358, allocations: 129.7 kB / 3.09 GB, free: 327.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/6.358, allocations: 212.8 kB / 3.09 GB, free: 327.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/6.359, allocations: 176 kB / 3.09 GB, free: 327.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/6.359, allocations: 0 / 3.09 GB, free: 327.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003689/6.362, allocations: 0.8481 MB / 3.091 GB, free: 326.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/6.362, allocations: 35.55 kB / 3.091 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/6.362, allocations: 2.156 kB / 3.091 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/6.363, allocations: 181.5 kB / 3.091 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/6.364, allocations: 40.34 kB / 3.091 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/6.366, allocations: 2.206 MB / 3.094 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/6.367, allocations: 50.06 kB / 3.094 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/6.367, allocations: 26.62 kB / 3.094 GB, free: 325 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.0003044/6.367, allocations: 158.1 kB / 3.094 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/6.368, allocations: 32.5 kB / 3.094 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-05/6.368, allocations: 26.77 kB / 3.094 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/6.368, allocations: 2.781 kB / 3.094 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/6.368, allocations: 4 kB / 3.094 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/6.368, allocations: 4.984 kB / 3.094 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/6.372, allocations: 1.042 MB / 3.095 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/6.372, allocations: 2.875 kB / 3.095 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/6.372, allocations: 6.5 kB / 3.095 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002381/6.372, allocations: 96.94 kB / 3.095 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/6.372, allocations: 11.47 kB / 3.095 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007567/6.373, allocations: 0.7322 MB / 3.096 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/6.373, allocations: 0 / 3.096 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/6.376, allocations: 0.8737 MB / 3.097 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/6.376, allocations: 144.3 kB / 3.097 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/6.376, allocations: 7.828 kB / 3.097 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/6.377, allocations: 15.47 kB / 3.097 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/6.377, allocations: 13.78 kB / 3.097 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/6.377, allocations: 10.38 kB / 3.097 GB, free: 323.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003203/6.377, allocations: 231.3 kB / 3.097 GB, free: 323 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/6.377, allocations: 5.25 kB / 3.097 GB, free: 323 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001029/6.378, allocations: 164.8 kB / 3.097 GB, free: 323 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.002781/6.381, allocations: 1.725 MB / 3.099 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001766/6.383, allocations: 0.5389 MB / 3.099 GB, free: 321.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/6.383, allocations: 1.5 kB / 3.099 GB, free: 321.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/6.384, allocations: 238.8 kB / 3.1 GB, free: 321.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/6.384, allocations: 50.14 kB / 3.1 GB, free: 321.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/6.386, allocations: 0.5187 MB / 3.1 GB, free: 321.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/6.386, allocations: 0.7647 MB / 3.101 GB, free: 320.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002738/6.387, allocations: 34.06 kB / 3.101 GB, free: 320.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/6.387, allocations: 81.3 kB / 3.101 GB, free: 320.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/6.387, allocations: 0 / 3.101 GB, free: 320.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.059/6.446, allocations: 21.39 MB / 3.122 GB, free: 319 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/6.446, allocations: 224.4 kB / 3.122 GB, free: 318.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/9.217, allocations: 0 / 3.122 GB, free: 318.8 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)