Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.772/2.772, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001546/0.001546, allocations: 186.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001179/0.001179, allocations: 91.45 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 13.89 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2479, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002777/0.2507, allocations: 1.966 MB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8885/1.139, allocations: 127.5 MB / 1.105 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/1.14, allocations: 1.219 kB / 1.105 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003492/1.14, allocations: 71.58 kB / 1.105 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009687/1.141, allocations: 235.1 kB / 1.105 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/1.143, allocations: 0.5128 MB / 1.106 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007457/1.144, allocations: 274.9 kB / 1.106 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/1.144, allocations: 38.95 kB / 1.106 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/1.145, allocations: 162.2 kB / 1.106 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/1.145, allocations: 170.3 kB / 1.106 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/1.145, allocations: 16.66 kB / 1.106 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/1.147, allocations: 0.5198 MB / 1.107 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/1.148, allocations: 66.91 kB / 1.107 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/1.148, allocations: 75.64 kB / 1.107 GB, free: 17.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/1.149, allocations: 446.9 kB / 1.107 GB, free: 17.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.149, allocations: 5 kB / 1.107 GB, free: 17.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.149, allocations: 0 / 1.107 GB, free: 17.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.149, allocations: 0 / 1.107 GB, free: 17.62 MB / 0.698 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.002445/1.152, allocations: 0.6924 MB / 1.108 GB, free: 17.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.152, allocations: 8.969 kB / 1.108 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/1.152, allocations: 47.28 kB / 1.108 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/1.155, allocations: 159.6 kB / 1.108 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/1.156, allocations: 306.5 kB / 1.108 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/1.156, allocations: 47.52 kB / 1.108 GB, free: 16.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.156, allocations: 24.64 kB / 1.109 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/1.156, allocations: 209.7 kB / 1.109 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.156, allocations: 1.125 kB / 1.109 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/1.157, allocations: 4.906 kB / 1.109 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.157, allocations: 3.594 kB / 1.109 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/1.157, allocations: 121.5 kB / 1.109 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/1.162, allocations: 0.9927 MB / 1.11 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.163, allocations: 168.3 kB / 1.11 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/1.163, allocations: 4.109 kB / 1.11 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006657/1.164, allocations: 189.4 kB / 1.11 GB, free: 16.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.597e-06/1.164, allocations: 0 / 1.11 GB, free: 16.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.007633/1.171, allocations: 0.9641 MB / 1.111 GB, free: 15.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/1.172, allocations: 86.3 kB / 1.111 GB, free: 15.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/1.172, allocations: 341.3 kB / 1.111 GB, free: 15.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/1.173, allocations: 34.7 kB / 1.112 GB, free: 15.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.173, allocations: 145.2 kB / 1.112 GB, free: 15.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/1.173, allocations: 61.33 kB / 1.112 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/1.173, allocations: 6 kB / 1.112 GB, free: 15.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.173, allocations: 341.9 kB / 1.112 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/1.174, allocations: 140.5 kB / 1.112 GB, free: 15.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/1.174, allocations: 216.1 kB / 1.112 GB, free: 15.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/1.175, allocations: 177.3 kB / 1.113 GB, free: 15.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.175, allocations: 1.312 kB / 1.113 GB, free: 15.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.007051/1.182, allocations: 0.8666 MB / 1.113 GB, free: 14.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/1.182, allocations: 43.17 kB / 1.113 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.182, allocations: 1.844 kB / 1.113 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/1.184, allocations: 201.6 kB / 1.114 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/1.185, allocations: 45.77 kB / 1.114 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/1.19, allocations: 2.243 MB / 1.116 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/1.191, allocations: 51.16 kB / 1.116 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.191, allocations: 19.11 kB / 1.116 GB, free: 12.91 MB / 0.698 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.0004283/1.191, allocations: 183.3 kB / 1.116 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.191, allocations: 35.72 kB / 1.116 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/1.191, allocations: 29.73 kB / 1.116 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.191, allocations: 5.984 kB / 1.116 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.191, allocations: 0 / 1.116 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.191, allocations: 0.7031 kB / 1.116 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/1.197, allocations: 1.055 MB / 1.117 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.197, allocations: 0 / 1.117 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.198, allocations: 14.14 kB / 1.117 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005791/1.198, allocations: 110.2 kB / 1.117 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/1.198, allocations: 8.594 kB / 1.117 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.2, allocations: 0.757 MB / 1.118 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.2, allocations: 2.375 kB / 1.118 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/1.206, allocations: 0.8887 MB / 1.119 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/1.206, allocations: 132.5 kB / 1.119 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/1.206, allocations: 10.3 kB / 1.119 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/1.207, allocations: 15.02 kB / 1.119 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/1.207, allocations: 13.22 kB / 1.119 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/1.207, allocations: 7.516 kB / 1.119 GB, free: 11.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004693/1.207, allocations: 240 kB / 1.119 GB, free: 11.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.92e-07/1.207, allocations: 0 / 1.119 GB, free: 11.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008698/1.208, allocations: 115.4 kB / 1.119 GB, free: 11.3 MB / 0.698 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.002554/1.211, allocations: 1.223 MB / 1.121 GB, free: 10.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002618/1.213, allocations: 0.5624 MB / 1.121 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.331e-06/1.214, allocations: 4.125 kB / 1.121 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/1.215, allocations: 249.6 kB / 1.121 GB, free: 10.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/1.216, allocations: 60.48 kB / 1.122 GB, free: 10.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/1.219, allocations: 1.643 MB / 1.123 GB, free: 9.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/1.219, allocations: 0.7717 MB / 1.124 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003496/1.22, allocations: 30.16 kB / 1.124 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/1.22, allocations: 85.38 kB / 1.124 GB, free: 8.297 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/1.22, allocations: 1.75 kB / 1.124 GB, free: 8.297 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/1.273, allocations: 9.458 MB / 1.133 GB, free: 5.359 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.274, allocations: 257 kB / 1.133 GB, free: 5.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.267, allocations: 3.438 kB / 1.133 GB, free: 5.02 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)