Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009639/0.0009638, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8339, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002493/0.8364, allocations: 1.97 MB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.9952, allocations: 127.5 MB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.9956, allocations: 4 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.9959, allocations: 79.61 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007218/0.9966, allocations: 231.3 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.9982, allocations: 0.516 MB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.9986, allocations: 263.5 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.9988, allocations: 40.72 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.999, allocations: 163.5 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.9992, allocations: 175.4 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.9993, allocations: 16 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/1, allocations: 0.5305 MB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/1.001, allocations: 67.77 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/1.001, allocations: 81.52 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006849/1.001, allocations: 447 kB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/1.001, allocations: 0 / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.074e-06/1.001, allocations: 0 / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.001, allocations: 0 / 1.083 GB, free: 11.75 MB / 0.8419 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.001465/1.003, allocations: 0.687 MB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.003, allocations: 8.031 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/1.003, allocations: 46.55 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/1.004, allocations: 163.4 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/1.005, allocations: 302.4 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/1.005, allocations: 49.66 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/1.005, allocations: 20 kB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/1.006, allocations: 208.1 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.006, allocations: 3.938 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.006, allocations: 4 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.006, allocations: 4 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/1.006, allocations: 116.2 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/1.008, allocations: 0.9886 MB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/1.009, allocations: 174.4 kB / 1.085 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/1.009, allocations: 7.984 kB / 1.085 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/1.01, allocations: 189 kB / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/1.01, allocations: 0 / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.004098/1.014, allocations: 0.9605 MB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/1.014, allocations: 85.09 kB / 1.086 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/1.014, allocations: 340.4 kB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/1.014, allocations: 33.7 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.015, allocations: 148.6 kB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/1.015, allocations: 59.19 kB / 1.087 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/1.015, allocations: 4 kB / 1.087 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.015, allocations: 342.8 kB / 1.087 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/1.015, allocations: 136.5 kB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/1.015, allocations: 213.4 kB / 1.088 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/1.016, allocations: 182.7 kB / 1.088 GB, free: 6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.016, allocations: 0 / 1.088 GB, free: 6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00348/1.019, allocations: 0.8721 MB / 1.089 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/1.019, allocations: 41.69 kB / 1.089 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.019, allocations: 0 / 1.089 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009317/1.02, allocations: 197.6 kB / 1.089 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/1.021, allocations: 43.84 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/1.023, allocations: 2.256 MB / 1.091 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/1.024, allocations: 39.67 kB / 1.091 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/1.024, allocations: 19.98 kB / 1.091 GB, free: 2.348 MB / 0.8419 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.0002937/1.024, allocations: 199.6 kB / 1.091 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/1.024, allocations: 27.62 kB / 1.091 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/1.024, allocations: 27.19 kB / 1.091 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.024, allocations: 7.984 kB / 1.091 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.024, allocations: 0 / 1.091 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/1.024, allocations: 0 / 1.091 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/1.028, allocations: 1.056 MB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/1.028, allocations: 7.938 kB / 1.093 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/1.028, allocations: 7.938 kB / 1.093 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/1.028, allocations: 121 kB / 1.093 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/1.028, allocations: 7.984 kB / 1.093 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008571/1.029, allocations: 0.7459 MB / 1.093 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.029, allocations: 0 / 1.093 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/1.032, allocations: 0.8822 MB / 1.094 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/1.032, allocations: 128.7 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/1.032, allocations: 8 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/1.033, allocations: 28 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/1.033, allocations: 7.984 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/1.033, allocations: 11.97 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003177/1.033, allocations: 239 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/1.033, allocations: 0 / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005866/1.034, allocations: 115.9 kB / 1.095 GB, free: 14.59 MB / 0.8575 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.001642/1.035, allocations: 1.231 MB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.037, allocations: 0.5574 MB / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.037, allocations: 4.062 kB / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007321/1.038, allocations: 252 kB / 1.097 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/1.038, allocations: 64.88 kB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/1.04, allocations: 1.631 MB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.041, allocations: 0.7638 MB / 1.099 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001934/1.041, allocations: 42.27 kB / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/1.041, allocations: 83.41 kB / 1.099 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of SimCode: time 1.894e-06/1.041, allocations: 0 / 1.099 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/1.069, allocations: 9.461 MB / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/1.07, allocations: 249.1 kB / 1.109 GB, free: 340 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/3.043, allocations: 64 / 1.109 GB, free: 340 kB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)