Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.001555/0.001555, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002282/0.002282, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.298/2.298, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.15/4.15, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006408, allocations: 16 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399/1.4, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004003/1.404, allocations: 1.949 MB / 0.9828 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.254/1.658, allocations: 127.5 MB / 1.107 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/1.659, allocations: 4 kB / 1.107 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/1.659, allocations: 83.59 kB / 1.107 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/1.661, allocations: 223.4 kB / 1.108 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/1.664, allocations: 0.5242 MB / 1.108 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007975/1.664, allocations: 263.5 kB / 1.108 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/1.665, allocations: 40.72 kB / 1.108 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/1.665, allocations: 163.5 kB / 1.109 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/1.665, allocations: 171.4 kB / 1.109 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.27e-05/1.666, allocations: 16 kB / 1.109 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/1.668, allocations: 0.5344 MB / 1.109 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/1.668, allocations: 67.73 kB / 1.109 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/1.668, allocations: 77.56 kB / 1.109 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/1.669, allocations: 451 kB / 1.11 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.669, allocations: 3.938 kB / 1.11 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/1.669, allocations: 0 / 1.11 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.669, allocations: 0 / 1.11 GB, free: 1.938 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.002209/1.671, allocations: 0.6887 MB / 1.111 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/1.672, allocations: 15.97 kB / 1.111 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.901e-05/1.672, allocations: 46.55 kB / 1.111 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/1.674, allocations: 159.5 kB / 1.111 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/1.675, allocations: 294.4 kB / 1.111 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.675, allocations: 49.69 kB / 1.111 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/1.675, allocations: 20 kB / 1.111 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/1.676, allocations: 211.9 kB / 1.111 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.676, allocations: 0 / 1.111 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/1.676, allocations: 8 kB / 1.111 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.676, allocations: 0 / 1.111 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/1.676, allocations: 124.1 kB / 1.111 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/1.68, allocations: 1.004 MB / 1.112 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.681, allocations: 162.5 kB / 1.113 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/1.681, allocations: 0 / 1.113 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/1.682, allocations: 193 kB / 1.113 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 3.386e-06/1.682, allocations: 0 / 1.113 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.006209/1.688, allocations: 0.9554 MB / 1.114 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/1.688, allocations: 85.11 kB / 1.114 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/1.689, allocations: 340.4 kB / 1.114 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.689, allocations: 29.7 kB / 1.114 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.69, allocations: 152.6 kB / 1.114 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.69, allocations: 59.19 kB / 1.114 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/1.69, allocations: 8 kB / 1.114 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.69, allocations: 342.8 kB / 1.115 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/1.691, allocations: 140.5 kB / 1.115 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/1.691, allocations: 213.4 kB / 1.115 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/1.692, allocations: 178.8 kB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.692, allocations: 0 / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.005924/1.698, allocations: 0.876 MB / 1.116 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/1.698, allocations: 37.69 kB / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.698, allocations: 0 / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.699, allocations: 197.6 kB / 1.116 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/1.7, allocations: 43.91 kB / 1.116 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/1.705, allocations: 2.252 MB / 1.118 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/1.706, allocations: 51.59 kB / 1.118 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.706, allocations: 23.92 kB / 1.119 GB, free: 8.523 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 ($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.0004656/1.706, allocations: 189.2 kB / 1.119 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.706, allocations: 31.62 kB / 1.119 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/1.706, allocations: 31.17 kB / 1.119 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.706, allocations: 0 / 1.119 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.706, allocations: 0 / 1.119 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.706, allocations: 7.938 kB / 1.119 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/1.712, allocations: 1.049 MB / 1.12 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.712, allocations: 0 / 1.12 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.712, allocations: 11.98 kB / 1.12 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/1.712, allocations: 112.8 kB / 1.12 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/1.713, allocations: 11.98 kB / 1.12 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/1.714, allocations: 0.7498 MB / 1.121 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.714, allocations: 3.953 kB / 1.121 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/1.719, allocations: 0.8862 MB / 1.122 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/1.72, allocations: 140.6 kB / 1.122 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/1.72, allocations: 4 kB / 1.122 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/1.72, allocations: 20.05 kB / 1.122 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/1.72, allocations: 7.984 kB / 1.122 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/1.72, allocations: 12 kB / 1.122 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005224/1.721, allocations: 239 kB / 1.122 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.3e-07/1.721, allocations: 0 / 1.122 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009642/1.722, allocations: 112 kB / 1.122 GB, free: 4.781 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 (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.002698/1.725, allocations: 1.228 MB / 1.123 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002628/1.727, allocations: 0.5745 MB / 1.124 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.727, allocations: 0 / 1.124 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.728, allocations: 240.9 kB / 1.124 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/1.729, allocations: 53.67 kB / 1.124 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/1.733, allocations: 1.647 MB / 1.126 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/1.734, allocations: 0.7599 MB / 1.126 GB, free: 124 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000304/1.734, allocations: 30.28 kB / 1.126 GB, free: 96 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/1.734, allocations: 83.41 kB / 1.127 GB, free: 12 kB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/1.734, allocations: 0 / 1.127 GB, free: 12 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/1.783, allocations: 9.455 MB / 1.136 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004694/1.784, allocations: 247 kB / 1.136 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.984, allocations: 0 / 1.136 GB, free: 6.555 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) Environment - environmentSimulation: