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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 99.55 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.001529/0.001529, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.081/2.081, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.0006279, allocations: 18.47 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2342, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002612/0.2369, allocations: 1.971 MB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6309/0.8678, allocations: 127.5 MB / 0.9137 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.8683, allocations: 1.375 kB / 0.9137 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.8686, allocations: 77.09 kB / 0.9138 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008349/0.8695, allocations: 233.1 kB / 0.914 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.8714, allocations: 0.5215 MB / 0.9145 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.8718, allocations: 262.4 kB / 0.9147 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.872, allocations: 44.34 kB / 0.9148 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.8722, allocations: 157.1 kB / 0.9149 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.8725, allocations: 173.5 kB / 0.9151 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.8726, allocations: 16.94 kB / 0.9151 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.8738, allocations: 0.5234 MB / 0.9156 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.8739, allocations: 68.97 kB / 0.9157 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.874, allocations: 76.8 kB / 0.9158 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.8748, allocations: 441.6 kB / 0.9162 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8748, allocations: 0 / 0.9162 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8748, allocations: 0.9688 kB / 0.9162 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8748, allocations: 0 / 0.9162 GB, free: 4.988 MB / 0.7169 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.001874/0.8767, allocations: 0.6951 MB / 0.9169 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.8767, allocations: 9.469 kB / 0.9169 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.8768, allocations: 49.17 kB / 0.9169 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.8784, allocations: 154 kB / 0.9171 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.879, allocations: 305.8 kB / 0.9174 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.879, allocations: 44.91 kB / 0.9174 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.8791, allocations: 24.75 kB / 0.9174 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.8796, allocations: 211.5 kB / 0.9176 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.8796, allocations: 0.9688 kB / 0.9176 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.8796, allocations: 5.625 kB / 0.9176 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.8797, allocations: 2.844 kB / 0.9176 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.88, allocations: 121.3 kB / 0.9177 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.8826, allocations: 0.9907 MB / 0.9187 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.8834, allocations: 163.5 kB / 0.9189 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.8835, allocations: 2.625 kB / 0.9189 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/0.8839, allocations: 195.4 kB / 0.9191 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 5.821e-06/0.8839, allocations: 0 / 0.9191 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004253/0.8882, allocations: 0.9549 MB / 0.92 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.8883, allocations: 84.3 kB / 0.9201 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.8888, allocations: 341.5 kB / 0.9204 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/0.8889, allocations: 30.98 kB / 0.9204 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.889, allocations: 148 kB / 0.9206 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.8891, allocations: 59.16 kB / 0.9206 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.8891, allocations: 8.625 kB / 0.9206 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8893, allocations: 350.3 kB / 0.921 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.8896, allocations: 138.9 kB / 0.9211 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.89, allocations: 214.4 kB / 0.9213 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.8904, allocations: 182.6 kB / 0.9215 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8904, allocations: 0 / 0.9215 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003738/0.8942, allocations: 0.8615 MB / 0.9223 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.8942, allocations: 39.03 kB / 0.9224 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.8943, allocations: 7.391 kB / 0.9224 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.8953, allocations: 198.8 kB / 0.9226 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.8956, allocations: 40.16 kB / 0.9226 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.8989, allocations: 2.252 MB / 0.9248 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.8995, allocations: 48.64 kB / 0.9248 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.8996, allocations: 22.75 kB / 0.9249 GB, free: 16.34 MB / 0.7325 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.0002957/0.8999, allocations: 182.9 kB / 0.925 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.8999, allocations: 36.12 kB / 0.9251 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.9, allocations: 27.39 kB / 0.9251 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.9, allocations: 0.6562 kB / 0.9251 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9, allocations: 0 / 0.9251 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9, allocations: 3.297 kB / 0.9251 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.9033, allocations: 1.051 MB / 0.9261 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9033, allocations: 0 / 0.9261 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.9034, allocations: 13.72 kB / 0.9261 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.9037, allocations: 113.3 kB / 0.9262 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.9038, allocations: 8.078 kB / 0.9262 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/0.9047, allocations: 0.7554 MB / 0.927 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9047, allocations: 0 / 0.927 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/0.9079, allocations: 0.8895 MB / 0.9279 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.9082, allocations: 130.4 kB / 0.928 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.9083, allocations: 19.08 kB / 0.928 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.9086, allocations: 12.98 kB / 0.928 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.9086, allocations: 16.17 kB / 0.928 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.9087, allocations: 11.92 kB / 0.928 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003217/0.909, allocations: 233.7 kB / 0.9283 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.909, allocations: 0 / 0.9283 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006507/0.9097, allocations: 109.7 kB / 0.9284 GB, free: 14.76 MB / 0.7325 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.001745/0.9114, allocations: 1.23 MB / 0.9296 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.9133, allocations: 0.5649 MB / 0.9301 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9133, allocations: 0 / 0.9301 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.9141, allocations: 250.7 kB / 0.9304 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.9146, allocations: 59.14 kB / 0.9304 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.9169, allocations: 1.63 MB / 0.932 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.9173, allocations: 0.7688 MB / 0.9328 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.9176, allocations: 30.41 kB / 0.9328 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.9177, allocations: 85.84 kB / 0.9329 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.9177, allocations: 0 / 0.9329 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.9474, allocations: 9.461 MB / 0.9421 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.9477, allocations: 257.5 kB / 0.9424 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/3.09, allocations: 4 kB / 0.9424 GB, free: 10.8 MB / 0.7325 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) Environment - environmentSimulation: