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.00871/0.00871, allocations: 98.03 kB / 15.73 MB, free: 6.062 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.001871/0.001871, allocations: 195.4 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: 15.14 MB / 206.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.236/2.236, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8074/0.8089, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003567/0.8125, allocations: 2.405 MB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.9987, allocations: 151 MB / 1.237 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.9991, allocations: 2.219 kB / 1.237 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.9996, allocations: 89.91 kB / 1.237 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009442/1.001, allocations: 245 kB / 1.238 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/1.002, allocations: 0.6584 MB / 1.238 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006938/1.003, allocations: 440.8 kB / 1.239 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/1.003, allocations: 42.47 kB / 1.239 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/1.004, allocations: 186 kB / 1.239 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/1.004, allocations: 207.6 kB / 1.239 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/1.004, allocations: 30.19 kB / 1.239 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/1.006, allocations: 0.6268 MB / 1.24 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/1.006, allocations: 84.22 kB / 1.24 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/1.006, allocations: 171.2 kB / 1.24 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/1.007, allocations: 0.6532 MB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.007, allocations: 1.5 kB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/1.007, allocations: 4 kB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.778e-05/1.007, allocations: 0 / 1.241 GB, free: 15.88 MB / 0.9825 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.001961/1.009, allocations: 0.7401 MB / 1.241 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.009, allocations: 9.156 kB / 1.241 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.733e-05/1.009, allocations: 48.27 kB / 1.241 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/1.011, allocations: 159.3 kB / 1.242 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/1.012, allocations: 319.8 kB / 1.242 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/1.012, allocations: 45.95 kB / 1.242 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/1.012, allocations: 17.28 kB / 1.242 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/1.012, allocations: 215.7 kB / 1.242 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.012, allocations: 0 / 1.242 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/1.012, allocations: 6.594 kB / 1.242 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/1.012, allocations: 10.41 kB / 1.242 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/1.013, allocations: 118.9 kB / 1.242 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/1.015, allocations: 0.9861 MB / 1.243 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/1.016, allocations: 174.9 kB / 1.243 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/1.016, allocations: 93.25 kB / 1.243 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/1.016, allocations: 5.406 kB / 1.243 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/1.017, allocations: 180.9 kB / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/1.017, allocations: 0 / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004073/1.021, allocations: 0.8669 MB / 1.244 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.021, allocations: 81.11 kB / 1.245 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/1.021, allocations: 344.4 kB / 1.245 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/1.021, allocations: 37.7 kB / 1.245 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.022, allocations: 152.5 kB / 1.245 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/1.022, allocations: 59.19 kB / 1.245 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.022, allocations: 85.94 kB / 1.245 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.022, allocations: 338.8 kB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/1.022, allocations: 136.5 kB / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/1.023, allocations: 213.4 kB / 1.246 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/1.023, allocations: 336.7 kB / 1.246 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.023, allocations: 0 / 1.246 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003527/1.027, allocations: 0.8685 MB / 1.247 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/1.027, allocations: 41.64 kB / 1.247 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.027, allocations: 0 / 1.247 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009228/1.028, allocations: 201.6 kB / 1.247 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/1.028, allocations: 39.91 kB / 1.247 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/1.031, allocations: 2.339 MB / 1.25 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/1.032, allocations: 47.58 kB / 1.25 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/1.032, allocations: 23.91 kB / 1.25 GB, free: 7.219 MB / 0.9825 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.0002524/1.032, allocations: 179.9 kB / 1.25 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/1.032, allocations: 31.62 kB / 1.25 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/1.032, allocations: 31.11 kB / 1.25 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.032, allocations: 0 / 1.25 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.032, allocations: 0 / 1.25 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/1.032, allocations: 4 kB / 1.25 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/1.035, allocations: 1.042 MB / 1.251 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.035, allocations: 3.938 kB / 1.251 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/1.035, allocations: 8 kB / 1.251 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/1.036, allocations: 108.8 kB / 1.251 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/1.036, allocations: 15.98 kB / 1.251 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008952/1.037, allocations: 0.7419 MB / 1.252 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.037, allocations: 3.938 kB / 1.252 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/1.04, allocations: 0.8786 MB / 1.253 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/1.04, allocations: 144.6 kB / 1.253 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/1.04, allocations: 11.98 kB / 1.253 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.04, allocations: 8 kB / 1.253 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/1.04, allocations: 11.98 kB / 1.253 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/1.04, allocations: 15.92 kB / 1.253 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002922/1.041, allocations: 235 kB / 1.253 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 4 kB / 1.253 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005713/1.041, allocations: 112 kB / 1.253 GB, free: 3.496 MB / 0.9825 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.001597/1.043, allocations: 1.222 MB / 1.254 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.044, allocations: 0.5693 MB / 1.255 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.045, allocations: 4.188 kB / 1.255 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007341/1.045, allocations: 252 kB / 1.255 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/1.046, allocations: 68.92 kB / 1.255 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.057, allocations: 4.353 MB / 1.259 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/1.058, allocations: 0.7599 MB / 1.26 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001735/1.058, allocations: 26.23 kB / 1.26 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/1.058, allocations: 87.39 kB / 1.26 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.272e-06/1.058, allocations: 0 / 1.26 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/1.093, allocations: 10.34 MB / 1.27 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.44, allocations: 7.078 kB / 1.27 GB, free: 1.848 MB / 0.9981 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)