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.001156/0.001156, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001665/0.001665, allocations: 172.7 kB / 15.95 MB, free: 208 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.459/1.459, allocations: 205.4 MB / 222.1 MB, free: 5.895 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 1.691/1.691, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0009653/0.0009654, allocations: 19.69 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2453, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002572/0.2479, allocations: 2.044 MB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5582/0.8061, allocations: 137.1 MB / 0.9233 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.8064, allocations: 1.906 kB / 0.9233 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.8067, allocations: 76.67 kB / 0.9234 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.8073, allocations: 210.5 kB / 0.9236 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.8088, allocations: 0.5003 MB / 0.9241 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.8092, allocations: 372 kB / 0.9244 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.8093, allocations: 47.02 kB / 0.9245 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.8095, allocations: 157.5 kB / 0.9246 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.8099, allocations: 175.9 kB / 0.9248 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.8099, allocations: 20.5 kB / 0.9248 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.8112, allocations: 0.4956 MB / 0.9253 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.8113, allocations: 69.7 kB / 0.9254 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.8117, allocations: 73.55 kB / 0.9254 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.8124, allocations: 459.1 kB / 0.9259 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8124, allocations: 0 / 0.9259 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8124, allocations: 0.5156 kB / 0.9259 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8124, allocations: 0 / 0.9259 GB, free: 21.45 MB / 0.7325 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.001377/0.8138, allocations: 0.6904 MB / 0.9266 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.8139, allocations: 11.88 kB / 0.9266 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.8139, allocations: 46.88 kB / 0.9266 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.8153, allocations: 158.3 kB / 0.9268 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.8157, allocations: 308.3 kB / 0.9271 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.8158, allocations: 48.61 kB / 0.9271 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.8159, allocations: 20.53 kB / 0.9271 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.8163, allocations: 210.9 kB / 0.9273 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8163, allocations: 0 / 0.9273 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.8164, allocations: 10.38 kB / 0.9273 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.8164, allocations: 3.016 kB / 0.9273 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.8166, allocations: 122.8 kB / 0.9275 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.819, allocations: 0.9927 MB / 0.9284 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.8197, allocations: 167 kB / 0.9286 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.8199, allocations: 96.08 kB / 0.9287 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.8199, allocations: 2.719 kB / 0.9287 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.8203, allocations: 202.6 kB / 0.9289 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 2.605e-06/0.8203, allocations: 3.984 kB / 0.9289 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003706/0.8241, allocations: 0.8673 MB / 0.9297 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.8241, allocations: 83.33 kB / 0.9298 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.8245, allocations: 348.2 kB / 0.9301 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.8246, allocations: 30.84 kB / 0.9302 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.8247, allocations: 155.5 kB / 0.9303 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.8247, allocations: 57.8 kB / 0.9304 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.8248, allocations: 3.938 kB / 0.9304 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8249, allocations: 339.5 kB / 0.9307 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.8252, allocations: 139.6 kB / 0.9308 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.8255, allocations: 221.2 kB / 0.931 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.8259, allocations: 175.5 kB / 0.9312 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8259, allocations: 4 kB / 0.9312 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003271/0.8292, allocations: 0.8603 MB / 0.932 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.8292, allocations: 38.48 kB / 0.9321 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8293, allocations: 2.625 kB / 0.9321 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.8301, allocations: 202.6 kB / 0.9323 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.8303, allocations: 39.42 kB / 0.9323 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.8329, allocations: 2.24 MB / 0.9345 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.8334, allocations: 46.3 kB / 0.9345 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.8334, allocations: 21.52 kB / 0.9346 GB, free: 16.89 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.0002515/0.8337, allocations: 186.6 kB / 0.9347 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.8337, allocations: 35.58 kB / 0.9348 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.8338, allocations: 32.34 kB / 0.9348 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8338, allocations: 0.9688 kB / 0.9348 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8338, allocations: 0.5 kB / 0.9348 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8338, allocations: 3.438 kB / 0.9348 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.8367, allocations: 1.054 MB / 0.9358 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8367, allocations: 0 / 0.9358 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.8368, allocations: 6 kB / 0.9359 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.8371, allocations: 117.6 kB / 0.936 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.8371, allocations: 10.53 kB / 0.936 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008416/0.838, allocations: 0.7559 MB / 0.9367 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.838, allocations: 1.531 kB / 0.9367 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.8413, allocations: 0.8829 MB / 0.9376 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.8415, allocations: 136.6 kB / 0.9377 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.8415, allocations: 3.969 kB / 0.9377 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.8418, allocations: 13.83 kB / 0.9377 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.8419, allocations: 12.72 kB / 0.9377 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.8419, allocations: 8.5 kB / 0.9377 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004016/0.8423, allocations: 240.5 kB / 0.938 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8423, allocations: 0 / 0.938 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007061/0.8431, allocations: 115.4 kB / 0.9381 GB, free: 15.3 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.001736/0.8448, allocations: 1.221 MB / 0.9393 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.8466, allocations: 0.5659 MB / 0.9398 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8466, allocations: 1.375 kB / 0.9398 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.8473, allocations: 249.5 kB / 0.9401 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.8479, allocations: 60 kB / 0.9401 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007542/0.8555, allocations: 2.508 MB / 0.9426 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.8559, allocations: 0.7607 MB / 0.9433 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.8561, allocations: 35.25 kB / 0.9434 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.8563, allocations: 88.75 kB / 0.9434 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.8563, allocations: 4 kB / 0.9434 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.8805, allocations: 9.639 MB / 0.9529 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.8807, allocations: 250.2 kB / 0.9531 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.912, allocations: 3.125 kB / 0.9531 GB, free: 11.66 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: