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.007398/0.007399, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001774/0.001774, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.242/2.242, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.06 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2443, allocations: 140.4 MB / 1.088 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004332/0.2486, allocations: 2.404 MB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.3924, allocations: 151 MB / 1.237 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.3926, allocations: 3.938 kB / 1.237 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.393, allocations: 91.5 kB / 1.237 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006962/0.3937, allocations: 234.6 kB / 1.238 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.3954, allocations: 0.6534 MB / 1.238 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000549/0.3959, allocations: 438.6 kB / 1.239 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.396, allocations: 48.72 kB / 1.239 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.3963, allocations: 175.5 kB / 1.239 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.3967, allocations: 207.3 kB / 1.239 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.3967, allocations: 32 kB / 1.239 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.3979, allocations: 0.62 MB / 1.24 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.398, allocations: 83.72 kB / 1.24 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3982, allocations: 159.2 kB / 1.24 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3992, allocations: 0.6592 MB / 1.241 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3993, allocations: 0 / 1.241 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3993, allocations: 0 / 1.241 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.3993, allocations: 0 / 1.241 GB, free: 4.758 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.001589/0.4009, allocations: 0.7417 MB / 1.241 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4009, allocations: 8.031 kB / 1.241 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.401, allocations: 50.73 kB / 1.241 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.4025, allocations: 163.9 kB / 1.242 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.4031, allocations: 318.1 kB / 1.242 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.4032, allocations: 53.69 kB / 1.242 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.4033, allocations: 16 kB / 1.242 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.4037, allocations: 213 kB / 1.242 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4037, allocations: 3.938 kB / 1.242 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.4038, allocations: 8 kB / 1.242 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4038, allocations: 7.938 kB / 1.242 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.404, allocations: 121.5 kB / 1.242 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.4065, allocations: 0.9848 MB / 1.243 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.4074, allocations: 162.5 kB / 1.243 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.4076, allocations: 96.81 kB / 1.243 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.4076, allocations: 4 kB / 1.243 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.408, allocations: 184.9 kB / 1.244 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/0.408, allocations: 0 / 1.244 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.004101/0.4121, allocations: 0.8611 MB / 1.244 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.4122, allocations: 85.09 kB / 1.245 GB, free: 448 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.4126, allocations: 348.3 kB / 1.245 GB, free: 92 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.4127, allocations: 33.64 kB / 1.245 GB, free: 52 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4128, allocations: 160.5 kB / 1.245 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.4129, allocations: 59.19 kB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4131, allocations: 81.94 kB / 1.245 GB, free: 15.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4132, allocations: 342.8 kB / 1.246 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.4136, allocations: 140.5 kB / 1.246 GB, free: 15.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.414, allocations: 221.3 kB / 1.246 GB, free: 15.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006224/0.4146, allocations: 341 kB / 1.246 GB, free: 14.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4146, allocations: 0 / 1.246 GB, free: 14.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003676/0.4183, allocations: 0.8486 MB / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.4184, allocations: 46.8 kB / 1.247 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4184, allocations: 3.984 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/0.4193, allocations: 197.6 kB / 1.247 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4195, allocations: 39.97 kB / 1.247 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.4224, allocations: 2.337 MB / 1.25 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.4229, allocations: 47.75 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.4229, allocations: 19.98 kB / 1.25 GB, free: 10.94 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.0002381/0.4232, allocations: 187.5 kB / 1.25 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.4233, allocations: 31.62 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.4233, allocations: 31.11 kB / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4233, allocations: 4 kB / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4233, allocations: 0 / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4233, allocations: 3.984 kB / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.4265, allocations: 1.036 MB / 1.251 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4266, allocations: 3.938 kB / 1.251 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.4266, allocations: 11.98 kB / 1.251 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/0.4269, allocations: 108.8 kB / 1.251 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.427, allocations: 11.98 kB / 1.251 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008687/0.4279, allocations: 0.7461 MB / 1.252 GB, free: 8.668 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4279, allocations: 3.938 kB / 1.252 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.431, allocations: 0.879 MB / 1.253 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4312, allocations: 136.7 kB / 1.253 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.4313, allocations: 12.06 kB / 1.253 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.4315, allocations: 7.984 kB / 1.253 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.4316, allocations: 15.98 kB / 1.253 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4316, allocations: 11.88 kB / 1.253 GB, free: 7.566 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002888/0.4319, allocations: 243 kB / 1.253 GB, free: 7.328 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.4319, allocations: 0 / 1.253 GB, free: 7.328 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004901/0.4324, allocations: 115.9 kB / 1.253 GB, free: 7.215 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.00162/0.4341, allocations: 1.237 MB / 1.254 GB, free: 5.945 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.4356, allocations: 0.5654 MB / 1.255 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4357, allocations: 4 kB / 1.255 GB, free: 5.348 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007412/0.4364, allocations: 252.2 kB / 1.255 GB, free: 5.086 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.4369, allocations: 59.19 kB / 1.255 GB, free: 5.031 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.4479, allocations: 4.344 MB / 1.259 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4386/0.8866, allocations: 0.756 MB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.8868, allocations: 33.97 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.8869, allocations: 86.81 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/0.8869, allocations: 0 / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.871/2.758, allocations: 10.34 MB / 1.27 GB, free: 173.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/14.2, allocations: 11.38 kB / 1.27 GB, free: 173.3 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)