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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007296/0.007296, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001698/0.001698, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003777/0.2969, allocations: 2.39 MB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8076/1.104, allocations: 151 MB / 1.357 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/1.105, allocations: 10.81 kB / 1.357 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004296/1.105, allocations: 90.44 kB / 1.357 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009545/1.106, allocations: 240.7 kB / 1.357 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/1.108, allocations: 0.6728 MB / 1.358 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007232/1.109, allocations: 428.2 kB / 1.358 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/1.109, allocations: 54.03 kB / 1.359 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/1.11, allocations: 190.2 kB / 1.359 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/1.11, allocations: 199.9 kB / 1.359 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/1.11, allocations: 34.41 kB / 1.359 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/1.112, allocations: 0.623 MB / 1.36 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/1.112, allocations: 93.25 kB / 1.36 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/1.112, allocations: 159 kB / 1.36 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/1.114, allocations: 0.6581 MB / 1.36 GB, free: 9.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.114, allocations: 1.344 kB / 1.36 GB, free: 9.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/1.114, allocations: 0 / 1.36 GB, free: 9.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.029e-05/1.114, allocations: 0 / 1.36 GB, free: 9.75 MB / 1.061 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.00208/1.116, allocations: 0.7368 MB / 1.361 GB, free: 9.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.116, allocations: 9.875 kB / 1.361 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.402e-05/1.116, allocations: 51.08 kB / 1.361 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.118, allocations: 153.9 kB / 1.361 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/1.118, allocations: 321.7 kB / 1.362 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/1.118, allocations: 47.47 kB / 1.362 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/1.118, allocations: 18.47 kB / 1.362 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/1.119, allocations: 215.1 kB / 1.362 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.119, allocations: 1.219 kB / 1.362 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/1.119, allocations: 11.66 kB / 1.362 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.119, allocations: 2.75 kB / 1.362 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/1.119, allocations: 114.1 kB / 1.362 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/1.122, allocations: 0.9893 MB / 1.363 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/1.123, allocations: 163.6 kB / 1.363 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/1.123, allocations: 92.28 kB / 1.363 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/1.123, allocations: 6.125 kB / 1.363 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/1.123, allocations: 190 kB / 1.363 GB, free: 7.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.093e-06/1.123, allocations: 0 / 1.363 GB, free: 7.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.004065/1.127, allocations: 0.8619 MB / 1.364 GB, free: 7.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/1.127, allocations: 88.67 kB / 1.364 GB, free: 7.359 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/1.128, allocations: 344.2 kB / 1.365 GB, free: 7.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/1.128, allocations: 31.83 kB / 1.365 GB, free: 7.141 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.128, allocations: 151.1 kB / 1.365 GB, free: 7.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/1.128, allocations: 54.55 kB / 1.365 GB, free: 6.965 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.128, allocations: 84.14 kB / 1.365 GB, free: 6.922 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.128, allocations: 345.1 kB / 1.365 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/1.129, allocations: 143.1 kB / 1.365 GB, free: 6.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/1.129, allocations: 217.8 kB / 1.366 GB, free: 6.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/1.13, allocations: 345.1 kB / 1.366 GB, free: 6.227 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.13, allocations: 0 / 1.366 GB, free: 6.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003571/1.133, allocations: 0.8539 MB / 1.367 GB, free: 5.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/1.134, allocations: 46.83 kB / 1.367 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.134, allocations: 1.062 kB / 1.367 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/1.134, allocations: 198.2 kB / 1.367 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.135, allocations: 39.44 kB / 1.367 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/1.138, allocations: 2.344 MB / 1.369 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/1.138, allocations: 48.75 kB / 1.369 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/1.138, allocations: 16.44 kB / 1.369 GB, free: 3.66 MB / 1.061 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.0002707/1.139, allocations: 197.7 kB / 1.37 GB, free: 3.484 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/1.139, allocations: 30.47 kB / 1.37 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/1.139, allocations: 25.44 kB / 1.37 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.139, allocations: 1.094 kB / 1.37 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.139, allocations: 3.547 kB / 1.37 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.139, allocations: 3.938 kB / 1.37 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/1.142, allocations: 1.034 MB / 1.371 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.142, allocations: 0 / 1.371 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/1.142, allocations: 9.594 kB / 1.371 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/1.142, allocations: 118.2 kB / 1.371 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/1.142, allocations: 14.39 kB / 1.371 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/1.143, allocations: 0.7451 MB / 1.372 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.143, allocations: 0 / 1.372 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/1.146, allocations: 0.8681 MB / 1.372 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/1.147, allocations: 133.7 kB / 1.373 GB, free: 1.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.147, allocations: 7.844 kB / 1.373 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/1.147, allocations: 12.3 kB / 1.373 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/1.147, allocations: 11.8 kB / 1.373 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.147, allocations: 6.625 kB / 1.373 GB, free: 1.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003247/1.147, allocations: 245.4 kB / 1.373 GB, free: 1.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.01e-07/1.147, allocations: 0 / 1.373 GB, free: 1.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005814/1.148, allocations: 112.2 kB / 1.373 GB, free: 1.473 MB / 1.061 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.001807/1.15, allocations: 1.242 MB / 1.374 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001609/1.151, allocations: 0.5612 MB / 1.375 GB, free: 148 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.151, allocations: 0 / 1.375 GB, free: 148 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007768/1.152, allocations: 260.3 kB / 1.375 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/1.153, allocations: 60.98 kB / 1.375 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.164, allocations: 4.354 MB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/1.165, allocations: 0.7557 MB / 1.38 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001939/1.165, allocations: 32.41 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/1.165, allocations: 83.31 kB / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/1.165, allocations: 0 / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/1.203, allocations: 10.33 MB / 1.39 GB, free: 7.195 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.71, allocations: 16.02 kB / 1.39 GB, free: 7.184 MB / 1.076 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/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)