Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 183.8 kB / 361.4 MB, free: 6.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008657/0.0008654, allocations: 97.02 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.261e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9034, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.539/6.442, allocations: 2.085 GB / 3.05 GB, free: 29.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/6.443, allocations: 89.36 kB / 3.05 GB, free: 29.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018/10.46, allocations: 1.025 GB / 4.075 GB, free: 100.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/10.46, allocations: 4 kB / 4.075 GB, free: 100.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000325/10.46, allocations: 47.98 kB / 4.075 GB, free: 100.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006314/10.47, allocations: 2.06 MB / 4.077 GB, free: 98.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/10.47, allocations: 12.02 kB / 4.077 GB, free: 98.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/10.47, allocations: 0.6337 MB / 4.078 GB, free: 98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/10.48, allocations: 1.427 MB / 4.079 GB, free: 96.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/10.48, allocations: 118.2 kB / 4.08 GB, free: 96.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004612/10.48, allocations: 75.91 kB / 4.08 GB, free: 96.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/10.48, allocations: 0.9808 MB / 4.081 GB, free: 95.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/10.48, allocations: 1.188 MB / 4.082 GB, free: 94.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/10.48, allocations: 4 kB / 4.082 GB, free: 94.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/10.48, allocations: 7.938 kB / 4.082 GB, free: 94.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/10.48, allocations: 46.2 kB / 4.082 GB, free: 94.03 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009041/10.49, allocations: 5.615 MB / 4.087 GB, free: 88.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/10.49, allocations: 0.9415 MB / 4.088 GB, free: 87.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/10.49, allocations: 475.9 kB / 4.089 GB, free: 86.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/10.49, allocations: 312.8 kB / 4.089 GB, free: 86.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006966/10.49, allocations: 0.5072 MB / 4.089 GB, free: 85.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.466e-06/10.49, allocations: 4 kB / 4.089 GB, free: 85.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007749/10.5, allocations: 2.979 MB / 4.092 GB, free: 82.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/10.5, allocations: 196.7 kB / 4.093 GB, free: 82.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/10.5, allocations: 0.917 MB / 4.093 GB, free: 81.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/10.5, allocations: 29.7 kB / 4.093 GB, free: 81.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/10.5, allocations: 0.7281 MB / 4.094 GB, free: 80.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000288/10.5, allocations: 314.4 kB / 4.094 GB, free: 80.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/10.5, allocations: 4 kB / 4.094 GB, free: 80.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.032e-05/10.5, allocations: 345.9 kB / 4.095 GB, free: 80.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/10.51, allocations: 366.5 kB / 4.095 GB, free: 79.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/10.51, allocations: 0.5858 MB / 4.096 GB, free: 79.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/10.51, allocations: 1.356 MB / 4.097 GB, free: 77.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/10.51, allocations: 0 / 4.097 GB, free: 77.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003778/10.51, allocations: 1.61 MB / 4.099 GB, free: 76.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/10.51, allocations: 1.289 MB / 4.1 GB, free: 74.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/10.51, allocations: 7.984 kB / 4.1 GB, free: 74.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009518/10.51, allocations: 403.2 kB / 4.1 GB, free: 74.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/10.52, allocations: 186.9 kB / 4.1 GB, free: 74.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/10.52, allocations: 6.522 MB / 4.107 GB, free: 67.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/10.52, allocations: 123.8 kB / 4.107 GB, free: 67.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/10.52, allocations: 39.98 kB / 4.107 GB, free: 67.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/10.52, allocations: 5.094 kB / 4.107 GB, free: 67.11 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003652/10.53, allocations: 1.428 MB / 4.108 GB, free: 65.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/10.53, allocations: 4 kB / 4.108 GB, free: 65.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/10.53, allocations: 407.7 kB / 4.109 GB, free: 65.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/10.53, allocations: 175.8 kB / 4.109 GB, free: 65.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/10.54, allocations: 7.464 MB / 4.116 GB, free: 57.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/10.54, allocations: 127.8 kB / 4.116 GB, free: 57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/10.54, allocations: 39.98 kB / 4.116 GB, free: 56.96 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005659/10.54, allocations: 168.6 kB / 4.117 GB, free: 56.79 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003526/10.54, allocations: 1.316 MB / 4.118 GB, free: 55.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/10.54, allocations: 158.1 kB / 4.118 GB, free: 55.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/10.55, allocations: 1.391 MB / 4.119 GB, free: 53.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/10.55, allocations: 13.95 kB / 4.119 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/10.55, allocations: 7.938 kB / 4.119 GB, free: 53.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002744/10.55, allocations: 1.277 MB / 4.121 GB, free: 52.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006876/10.56, allocations: 3.129 MB / 4.124 GB, free: 49.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/10.56, allocations: 7.984 kB / 4.124 GB, free: 49.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/10.56, allocations: 199.5 kB / 4.124 GB, free: 49.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004104/10.56, allocations: 185.6 kB / 4.124 GB, free: 48.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/10.56, allocations: 19.98 kB / 4.124 GB, free: 48.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/10.56, allocations: 2.433 MB / 4.126 GB, free: 46.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/10.56, allocations: 4 kB / 4.126 GB, free: 46.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/10.57, allocations: 2.335 MB / 4.129 GB, free: 43.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/10.57, allocations: 351.1 kB / 4.129 GB, free: 43.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/10.57, allocations: 8 kB / 4.129 GB, free: 43.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/10.57, allocations: 135.7 kB / 4.129 GB, free: 43.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/10.57, allocations: 64.64 kB / 4.129 GB, free: 43.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/10.57, allocations: 39.98 kB / 4.129 GB, free: 43.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001503/10.57, allocations: 0.7029 MB / 4.13 GB, free: 42.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.4e-07/10.57, allocations: 0 / 4.13 GB, free: 42.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005295/10.58, allocations: 0.9685 MB / 4.131 GB, free: 41.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008693/10.58, allocations: 6.419 MB / 4.137 GB, free: 34.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003684/10.59, allocations: 2.56 MB / 4.14 GB, free: 32.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/10.59, allocations: 4 kB / 4.14 GB, free: 32.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/10.59, allocations: 0.6689 MB / 4.14 GB, free: 31.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/10.59, allocations: 0.7273 MB / 4.141 GB, free: 30.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008294/10.6, allocations: 2.888 MB / 4.144 GB, free: 27.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/10.6, allocations: 1.389 MB / 4.145 GB, free: 26.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002501/10.61, allocations: 427.4 kB / 4.146 GB, free: 25.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/10.61, allocations: 0.6086 MB / 4.146 GB, free: 25.26 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/10.61, allocations: 0 / 4.146 GB, free: 25.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.742/11.35, allocations: 63.57 MB / 4.208 GB, free: 159.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/11.35, allocations: 185.8 kB / 4.208 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.495/15.84, allocations: 6 kB / 4.209 GB, free: 158.9 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)