Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.172/1.172, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.231/2.231, allocations: 437.1 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4754, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003081/0.4785, allocations: 2.395 MB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.6048, allocations: 151 MB / 1.167 GB, free: 8.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.605, allocations: 0 / 1.167 GB, free: 8.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.6053, allocations: 95.42 kB / 1.167 GB, free: 8.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.6058, allocations: 242.5 kB / 1.168 GB, free: 8.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.6072, allocations: 0.6504 MB / 1.168 GB, free: 7.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.6076, allocations: 442.6 kB / 1.169 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.6077, allocations: 44.67 kB / 1.169 GB, free: 7.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.6079, allocations: 187.4 kB / 1.169 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.6082, allocations: 195.4 kB / 1.169 GB, free: 6.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.6082, allocations: 36 kB / 1.169 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.6092, allocations: 0.62 MB / 1.17 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.61e-05/0.6093, allocations: 83.72 kB / 1.17 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.6094, allocations: 159.2 kB / 1.17 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007247/0.6102, allocations: 0.6545 MB / 1.17 GB, free: 5.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.6102, allocations: 0 / 1.17 GB, free: 5.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.061e-06/0.6102, allocations: 0 / 1.17 GB, free: 5.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6102, allocations: 0 / 1.17 GB, free: 5.117 MB / 0.92 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.001285/0.6115, allocations: 0.7429 MB / 1.171 GB, free: 4.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.6115, allocations: 8.031 kB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.6116, allocations: 46.73 kB / 1.171 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.613, allocations: 156.4 kB / 1.171 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.6134, allocations: 310.5 kB / 1.172 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.6134, allocations: 49.69 kB / 1.172 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.6135, allocations: 20 kB / 1.172 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.6138, allocations: 212.1 kB / 1.172 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6139, allocations: 0 / 1.172 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.6139, allocations: 7.984 kB / 1.172 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6139, allocations: 4 kB / 1.172 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.6141, allocations: 112.2 kB / 1.172 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.6163, allocations: 1 MB / 1.173 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.617, allocations: 162.4 kB / 1.173 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.6172, allocations: 104.8 kB / 1.173 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.6172, allocations: 0 / 1.173 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/0.6176, allocations: 192.9 kB / 1.174 GB, free: 1.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.6176, allocations: 3.938 kB / 1.174 GB, free: 1.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.003753/0.6214, allocations: 0.8571 MB / 1.174 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.6214, allocations: 81.11 kB / 1.174 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.6217, allocations: 344.4 kB / 1.175 GB, free: 476 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.6218, allocations: 33.7 kB / 1.175 GB, free: 436 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.6219, allocations: 148.7 kB / 1.175 GB, free: 284 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.6219, allocations: 63.14 kB / 1.175 GB, free: 220 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.6221, allocations: 89.84 kB / 1.175 GB, free: 124 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6222, allocations: 346.7 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.6225, allocations: 132.5 kB / 1.176 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.6229, allocations: 221.3 kB / 1.176 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.6235, allocations: 340.9 kB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6235, allocations: 0 / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003406/0.6269, allocations: 0.8565 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.6269, allocations: 37.69 kB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6269, allocations: 8.062 kB / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.6278, allocations: 193.6 kB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.628, allocations: 43.84 kB / 1.177 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5035/1.131, allocations: 2.35 MB / 1.179 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/1.132, allocations: 43.67 kB / 1.18 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/1.132, allocations: 19.98 kB / 1.18 GB, free: 11.31 MB / 0.9356 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.0001704/1.132, allocations: 183.6 kB / 1.18 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/1.132, allocations: 31.62 kB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/1.132, allocations: 31.16 kB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.132, allocations: 0 / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/1.132, allocations: 3.938 kB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.132, allocations: 4 kB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/1.135, allocations: 1.055 MB / 1.181 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.135, allocations: 0 / 1.181 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/1.135, allocations: 8 kB / 1.181 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/1.135, allocations: 108.8 kB / 1.181 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.135, allocations: 15.92 kB / 1.181 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007559/1.136, allocations: 0.742 MB / 1.182 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.136, allocations: 3.984 kB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/1.139, allocations: 0.8779 MB / 1.183 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.139, allocations: 136.7 kB / 1.183 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/1.139, allocations: 8 kB / 1.183 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.14, allocations: 11.98 kB / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/1.14, allocations: 11.98 kB / 1.183 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/1.14, allocations: 11.98 kB / 1.183 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002336/1.14, allocations: 235 kB / 1.183 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.14, allocations: 3.938 kB / 1.183 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000378/1.14, allocations: 112 kB / 1.183 GB, free: 7.582 MB / 0.9356 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.001287/1.142, allocations: 1.225 MB / 1.184 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.143, allocations: 0.5811 MB / 1.185 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.143, allocations: 192 / 1.185 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/1.144, allocations: 248.2 kB / 1.185 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/1.144, allocations: 58.45 kB / 1.185 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009566/1.154, allocations: 4.387 MB / 1.189 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/1.154, allocations: 0.756 MB / 1.19 GB, free: 124 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001216/1.154, allocations: 30.28 kB / 1.19 GB, free: 92 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.154, allocations: 87.39 kB / 1.19 GB, free: 4 kB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.154, allocations: 0 / 1.19 GB, free: 4 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.35/6.504, allocations: 10.21 MB / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/17.81, allocations: 12.73 kB / 1.2 GB, free: 6.02 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)