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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000867/0.0008667, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005139/0.005139, allocations: 174.1 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002952, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5473, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.001975/0.5493, allocations: 2.097 MB / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.6864, allocations: 147.1 MB / 1.101 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.6866, allocations: 7.938 kB / 1.101 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.6869, allocations: 83.61 kB / 1.101 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.6875, allocations: 206.9 kB / 1.101 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.6889, allocations: 0.5799 MB / 1.102 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.6893, allocations: 414.6 kB / 1.102 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.483e-05/0.6894, allocations: 40.73 kB / 1.102 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.6896, allocations: 155.5 kB / 1.102 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.6899, allocations: 195.2 kB / 1.103 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.6899, allocations: 20 kB / 1.103 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.6909, allocations: 0.6667 MB / 1.103 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.691, allocations: 71.72 kB / 1.103 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.6912, allocations: 180.9 kB / 1.103 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.6918, allocations: 0.6388 MB / 1.104 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.6918, allocations: 0 / 1.104 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6919, allocations: 0 / 1.104 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6919, allocations: 3.938 kB / 1.104 GB, free: 6.348 MB / 0.8575 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.001174/0.693, allocations: 0.6833 MB / 1.105 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.6931, allocations: 12.03 kB / 1.105 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.6931, allocations: 50.67 kB / 1.105 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.6946, allocations: 156.2 kB / 1.105 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.695, allocations: 302.3 kB / 1.105 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.695, allocations: 57.62 kB / 1.105 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.6951, allocations: 16 kB / 1.105 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.6954, allocations: 208.1 kB / 1.105 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.6955, allocations: 0 / 1.105 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.6955, allocations: 4 kB / 1.105 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.6955, allocations: 4 kB / 1.105 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.6957, allocations: 125.5 kB / 1.106 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.698, allocations: 1.008 MB / 1.107 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.6987, allocations: 170.5 kB / 1.107 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.6989, allocations: 98.06 kB / 1.107 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.699, allocations: 4 kB / 1.107 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.6993, allocations: 198.3 kB / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.6993, allocations: 0 / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.003964/0.7033, allocations: 0.8807 MB / 1.108 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.7033, allocations: 81.05 kB / 1.108 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.7037, allocations: 348.4 kB / 1.108 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.7037, allocations: 33.7 kB / 1.108 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7039, allocations: 156.6 kB / 1.108 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.7039, allocations: 55.2 kB / 1.109 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.704, allocations: 41.69 kB / 1.109 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7041, allocations: 342.8 kB / 1.109 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.7044, allocations: 140.5 kB / 1.109 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.7048, allocations: 217.4 kB / 1.109 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.7054, allocations: 336.9 kB / 1.11 GB, free: 356 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7054, allocations: 3.938 kB / 1.11 GB, free: 352 kB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003607/0.709, allocations: 0.872 MB / 1.11 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.7091, allocations: 37.69 kB / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7091, allocations: 3.938 kB / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008833/0.71, allocations: 201.5 kB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.7102, allocations: 36.06 kB / 1.111 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.7127, allocations: 2.245 MB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.7132, allocations: 47.52 kB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.7132, allocations: 24.22 kB / 1.113 GB, free: 12.7 MB / 0.8731 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 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.7134, allocations: 187.8 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.7135, allocations: 27.62 kB / 1.113 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.7135, allocations: 31.17 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7135, allocations: 8 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.7136, allocations: 0 / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.7136, allocations: 3.938 kB / 1.113 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.7167, allocations: 1.051 MB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7167, allocations: 4.188 kB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.7168, allocations: 8 kB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/0.7171, allocations: 116.8 kB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.7171, allocations: 7.984 kB / 1.114 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.718, allocations: 0.7576 MB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.718, allocations: 7.984 kB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.7211, allocations: 0.8787 MB / 1.116 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.7213, allocations: 136.7 kB / 1.116 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.7213, allocations: 4 kB / 1.116 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.7216, allocations: 20.05 kB / 1.116 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.7216, allocations: 7.984 kB / 1.116 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.7217, allocations: 15.98 kB / 1.116 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002662/0.7219, allocations: 231 kB / 1.116 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.482e-06/0.7219, allocations: 0 / 1.116 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000424/0.7224, allocations: 111.9 kB / 1.116 GB, free: 8.945 MB / 0.8731 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/0.7238, allocations: 1.244 MB / 1.118 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.7253, allocations: 0.569 MB / 1.118 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7253, allocations: 4.062 kB / 1.118 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.726, allocations: 248.2 kB / 1.118 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.7265, allocations: 60.47 kB / 1.119 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.7372, allocations: 4.484 MB / 1.123 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.7375, allocations: 0.7715 MB / 1.124 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.7377, allocations: 34.22 kB / 1.124 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.7378, allocations: 87.39 kB / 1.124 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7378, allocations: 0 / 1.124 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.787/3.525, allocations: 9.671 MB / 1.133 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/3.525, allocations: 271.8 kB / 1.133 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/5.944, allocations: 6.031 kB / 1.133 GB, free: 7.492 MB / 0.8887 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/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)