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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007741/0.007741, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.00177/0.00177, allocations: 187 kB / 16.67 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.91 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004201/0.3147, allocations: 2.399 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1636/0.4784, allocations: 151 MB / 1.237 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.4786, allocations: 0 / 1.237 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.4791, allocations: 95.42 kB / 1.237 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.4799, allocations: 234.6 kB / 1.238 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4815, allocations: 0.6561 MB / 1.238 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005781/0.4821, allocations: 438.6 kB / 1.239 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4822, allocations: 44.72 kB / 1.239 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.4825, allocations: 187.4 kB / 1.239 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.4829, allocations: 195.4 kB / 1.239 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.483, allocations: 36 kB / 1.239 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.4841, allocations: 0.62 MB / 1.24 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.4842, allocations: 87.66 kB / 1.24 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.4844, allocations: 163.2 kB / 1.24 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.4855, allocations: 0.6592 MB / 1.241 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4855, allocations: 0 / 1.241 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4855, allocations: 0 / 1.241 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.4855, allocations: 4 kB / 1.241 GB, free: 4.59 MB / 0.9981 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.001625/0.4871, allocations: 0.7377 MB / 1.241 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4872, allocations: 8.031 kB / 1.241 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.4872, allocations: 50.73 kB / 1.241 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.4888, allocations: 160 kB / 1.242 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.4893, allocations: 318.1 kB / 1.242 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.4894, allocations: 49.7 kB / 1.242 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.4894, allocations: 16 kB / 1.242 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.4898, allocations: 213 kB / 1.242 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.4899, allocations: 4 kB / 1.242 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.4899, allocations: 4 kB / 1.242 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4899, allocations: 11.88 kB / 1.242 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.4902, allocations: 120.2 kB / 1.242 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.4926, allocations: 0.9886 MB / 1.243 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.4934, allocations: 166.5 kB / 1.243 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.4936, allocations: 96.83 kB / 1.243 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4936, allocations: 4 kB / 1.243 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.494, allocations: 181 kB / 1.244 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.785e-06/0.494, allocations: 0 / 1.244 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00402/0.498, allocations: 0.8651 MB / 1.244 GB, free: 384 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.4981, allocations: 81.11 kB / 1.245 GB, free: 284 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.4986, allocations: 348.3 kB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.4986, allocations: 33.7 kB / 1.245 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.4988, allocations: 148.6 kB / 1.245 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.4988, allocations: 63.19 kB / 1.245 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.499, allocations: 81.94 kB / 1.245 GB, free: 15.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4991, allocations: 342.8 kB / 1.246 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.4995, allocations: 132.5 kB / 1.246 GB, free: 15.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.4999, allocations: 233.2 kB / 1.246 GB, free: 14.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.5005, allocations: 337 kB / 1.246 GB, free: 14.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5006, allocations: 3.938 kB / 1.246 GB, free: 14.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003626/0.5042, allocations: 0.8487 MB / 1.247 GB, free: 13.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.5043, allocations: 49.56 kB / 1.247 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5043, allocations: 4.062 kB / 1.247 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009368/0.5052, allocations: 193.6 kB / 1.247 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.5055, allocations: 43.89 kB / 1.247 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.5084, allocations: 2.345 MB / 1.25 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.5089, allocations: 43.58 kB / 1.25 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.509, allocations: 15.98 kB / 1.25 GB, free: 10.78 MB / 1.014 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.0002397/0.5092, allocations: 197.1 kB / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.5093, allocations: 27.62 kB / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.5093, allocations: 31.11 kB / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5093, allocations: 4 kB / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5094, allocations: 0 / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5094, allocations: 192 / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.5126, allocations: 1.032 MB / 1.251 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.5126, allocations: 11.92 kB / 1.251 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.5127, allocations: 11.94 kB / 1.251 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.513, allocations: 112.8 kB / 1.251 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.513, allocations: 8 kB / 1.251 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008491/0.5139, allocations: 0.7493 MB / 1.252 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5139, allocations: 0 / 1.252 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.5169, allocations: 0.8703 MB / 1.253 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.5171, allocations: 132.7 kB / 1.253 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.5172, allocations: 8 kB / 1.253 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.5174, allocations: 16.05 kB / 1.253 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5175, allocations: 19.97 kB / 1.253 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.5175, allocations: 11.92 kB / 1.253 GB, free: 7.406 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002796/0.5178, allocations: 239 kB / 1.253 GB, free: 7.172 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5178, allocations: 0 / 1.253 GB, free: 7.172 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000488/0.5183, allocations: 119.9 kB / 1.253 GB, free: 7.055 MB / 1.014 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.001582/0.5199, allocations: 1.226 MB / 1.254 GB, free: 5.793 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.5215, allocations: 0.5694 MB / 1.255 GB, free: 5.195 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5215, allocations: 3.938 kB / 1.255 GB, free: 5.191 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.5223, allocations: 260.2 kB / 1.255 GB, free: 4.922 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.5228, allocations: 63 kB / 1.255 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.5336, allocations: 4.346 MB / 1.259 GB, free: 416 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5198/1.053, allocations: 0.7508 MB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000218/1.054, allocations: 27.94 kB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/1.054, allocations: 84.59 kB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/1.054, allocations: 0.625 kB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/1.092, allocations: 10.59 MB / 1.271 GB, free: 173.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.65, allocations: 14.75 kB / 1.271 GB, free: 173.4 MB / 1.014 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)