Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.591/2.591, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001474/0.001474, allocations: 192.7 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.00113/0.00113, allocations: 84.08 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.733e-05, allocations: 8 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8482, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.07/6.919, allocations: 2.085 GB / 3.049 GB, free: 33.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004509/6.919, allocations: 96.7 kB / 3.049 GB, free: 33.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.567/12.49, allocations: 1.025 GB / 4.074 GB, free: 106.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.234e-06/12.49, allocations: 0 / 4.074 GB, free: 106.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002854/12.49, allocations: 47.69 kB / 4.074 GB, free: 106.7 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.006891/12.49, allocations: 2.061 MB / 4.076 GB, free: 104.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/12.49, allocations: 8.031 kB / 4.076 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006293/12.5, allocations: 0.6297 MB / 4.077 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005446/12.51, allocations: 1.433 MB / 4.078 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006284/12.51, allocations: 118.2 kB / 4.078 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/12.51, allocations: 75.91 kB / 4.078 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003143/12.51, allocations: 0.9769 MB / 4.079 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/12.51, allocations: 1.191 MB / 4.081 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/12.51, allocations: 7.953 kB / 4.081 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/12.51, allocations: 0 / 4.081 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/12.51, allocations: 42.22 kB / 4.081 GB, free: 100 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.01321/12.53, allocations: 5.631 MB / 4.086 GB, free: 94.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/12.53, allocations: 0.9448 MB / 4.087 GB, free: 93.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000979/12.53, allocations: 464.5 kB / 4.087 GB, free: 92.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/12.53, allocations: 308 kB / 4.088 GB, free: 92.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/12.53, allocations: 0.5092 MB / 4.088 GB, free: 91.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.087e-06/12.53, allocations: 0 / 4.088 GB, free: 91.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.0122/12.54, allocations: 2.987 MB / 4.091 GB, free: 88.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/12.54, allocations: 192.7 kB / 4.091 GB, free: 88.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/12.55, allocations: 0.9093 MB / 4.092 GB, free: 87.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003509/12.55, allocations: 29.7 kB / 4.092 GB, free: 87.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007662/12.55, allocations: 0.7242 MB / 4.093 GB, free: 86.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/12.55, allocations: 326.2 kB / 4.093 GB, free: 86.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/12.55, allocations: 3.938 kB / 4.093 GB, free: 86.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/12.55, allocations: 345.9 kB / 4.094 GB, free: 86.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008838/12.55, allocations: 366.5 kB / 4.094 GB, free: 85.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/12.55, allocations: 0.5897 MB / 4.095 GB, free: 85.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/12.56, allocations: 1.343 MB / 4.096 GB, free: 83.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/12.56, allocations: 0 / 4.096 GB, free: 83.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006562/12.56, allocations: 1.617 MB / 4.097 GB, free: 82.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000305/12.56, allocations: 1.285 MB / 4.099 GB, free: 80.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/12.56, allocations: 0 / 4.099 GB, free: 80.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/12.57, allocations: 415.1 kB / 4.099 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/12.57, allocations: 179.5 kB / 4.099 GB, free: 80.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/12.58, allocations: 6.525 MB / 4.106 GB, free: 73.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/12.58, allocations: 119.8 kB / 4.106 GB, free: 73.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/12.58, allocations: 43.98 kB / 4.106 GB, free: 73.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/12.58, allocations: 4 kB / 4.106 GB, free: 73.13 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005823/12.58, allocations: 1.428 MB / 4.107 GB, free: 71.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/12.58, allocations: 4.375 kB / 4.107 GB, free: 71.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/12.59, allocations: 411.3 kB / 4.108 GB, free: 71.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/12.59, allocations: 175.7 kB / 4.108 GB, free: 71.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/12.6, allocations: 7.461 MB / 4.115 GB, free: 63.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/12.6, allocations: 123.8 kB / 4.115 GB, free: 63.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/12.6, allocations: 36 kB / 4.115 GB, free: 62.99 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.0008565/12.6, allocations: 180.4 kB / 4.115 GB, free: 62.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00894/12.61, allocations: 1.316 MB / 4.117 GB, free: 61.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009617/12.61, allocations: 162.1 kB / 4.117 GB, free: 61.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008716/12.62, allocations: 1.395 MB / 4.118 GB, free: 59.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/12.62, allocations: 8 kB / 4.118 GB, free: 59.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/12.62, allocations: 0 / 4.118 GB, free: 59.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007616/12.63, allocations: 1.278 MB / 4.119 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/12.65, allocations: 3.14 MB / 4.122 GB, free: 55.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/12.65, allocations: 4 kB / 4.122 GB, free: 55.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/12.65, allocations: 192.3 kB / 4.123 GB, free: 55.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/12.65, allocations: 189.6 kB / 4.123 GB, free: 54.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/12.65, allocations: 24.05 kB / 4.123 GB, free: 54.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/12.66, allocations: 2.433 MB / 4.125 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/12.66, allocations: 7.938 kB / 4.125 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/12.67, allocations: 2.332 MB / 4.128 GB, free: 49.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/12.67, allocations: 351.1 kB / 4.128 GB, free: 49.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006567/12.67, allocations: 11.95 kB / 4.128 GB, free: 49.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/12.67, allocations: 123.8 kB / 4.128 GB, free: 49.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/12.67, allocations: 72.64 kB / 4.128 GB, free: 49.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/12.67, allocations: 47.92 kB / 4.128 GB, free: 49.17 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002334/12.68, allocations: 0.6951 MB / 4.129 GB, free: 48.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.192e-06/12.68, allocations: 0 / 4.129 GB, free: 48.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009445/12.69, allocations: 0.9724 MB / 4.13 GB, free: 47.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.01745/12.7, allocations: 6.418 MB / 4.136 GB, free: 40.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008143/12.71, allocations: 2.552 MB / 4.138 GB, free: 38.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/12.71, allocations: 0 / 4.138 GB, free: 38.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/12.71, allocations: 0.6765 MB / 4.139 GB, free: 37.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/12.72, allocations: 0.7226 MB / 4.14 GB, free: 36.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/12.74, allocations: 2.888 MB / 4.143 GB, free: 33.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/12.74, allocations: 1.389 MB / 4.144 GB, free: 32.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005471/12.75, allocations: 423.4 kB / 4.144 GB, free: 31.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/12.75, allocations: 0.6047 MB / 4.145 GB, free: 31.27 MB / 0.948 GB Notification: Performance of SimCode: time 1.964e-06/12.75, allocations: 0 / 4.145 GB, free: 31.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9535/13.7, allocations: 63.56 MB / 4.207 GB, free: 167 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/13.7, allocations: 176.1 kB / 4.207 GB, free: 166.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.812/19.52, allocations: 2.969 kB / 4.207 GB, free: 166.8 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)