Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001252/0.001252, allocations: 172.9 kB / 366.7 MB, free: 1.668 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.955/1.955, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.001057/0.001057, allocations: 94.03 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.894e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9081/0.9082, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.421/7.33, allocations: 2.086 GB / 3.06 GB, free: 278.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/7.33, allocations: 90.5 kB / 3.06 GB, free: 278.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.362/10.69, allocations: 1.025 GB / 4.085 GB, free: 39.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/10.69, allocations: 0 / 4.085 GB, free: 39.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001656/10.69, allocations: 47.98 kB / 4.085 GB, free: 39.02 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.004784/10.7, allocations: 2.072 MB / 4.087 GB, free: 36.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/10.7, allocations: 12.03 kB / 4.087 GB, free: 36.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/10.7, allocations: 0.6182 MB / 4.088 GB, free: 36.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/10.7, allocations: 1.43 MB / 4.089 GB, free: 34.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/10.7, allocations: 118.2 kB / 4.089 GB, free: 34.65 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/10.7, allocations: 76 kB / 4.089 GB, free: 34.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001666/10.71, allocations: 0.9769 MB / 4.09 GB, free: 33.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/10.71, allocations: 1.188 MB / 4.092 GB, free: 32.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/10.71, allocations: 7.984 kB / 4.092 GB, free: 32.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/10.71, allocations: 4 kB / 4.092 GB, free: 32.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/10.71, allocations: 38.22 kB / 4.092 GB, free: 32.28 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.007787/10.72, allocations: 5.627 MB / 4.097 GB, free: 26.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/10.72, allocations: 0.9441 MB / 4.098 GB, free: 25.37 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/10.72, allocations: 462.8 kB / 4.098 GB, free: 24.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/10.72, allocations: 312 kB / 4.099 GB, free: 24.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006542/10.72, allocations: 0.5052 MB / 4.099 GB, free: 24.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/10.72, allocations: 0 / 4.099 GB, free: 24.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007167/10.73, allocations: 2.987 MB / 4.102 GB, free: 20.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/10.73, allocations: 204.6 kB / 4.102 GB, free: 20.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/10.73, allocations: 0.9248 MB / 4.103 GB, free: 19.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/10.73, allocations: 25.7 kB / 4.103 GB, free: 19.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/10.73, allocations: 0.7243 MB / 4.104 GB, free: 19.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/10.73, allocations: 311.3 kB / 4.104 GB, free: 18.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/10.73, allocations: 0 / 4.104 GB, free: 18.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/10.73, allocations: 345.9 kB / 4.105 GB, free: 18.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/10.73, allocations: 366.5 kB / 4.105 GB, free: 18.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/10.73, allocations: 0.5974 MB / 4.106 GB, free: 17.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/10.73, allocations: 1.339 MB / 4.107 GB, free: 16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/10.73, allocations: 4 kB / 4.107 GB, free: 15.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003582/10.74, allocations: 1.614 MB / 4.108 GB, free: 14.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/10.74, allocations: 1.281 MB / 4.11 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/10.74, allocations: 4 kB / 4.11 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/10.74, allocations: 415.1 kB / 4.11 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/10.74, allocations: 171.7 kB / 4.11 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/10.74, allocations: 6.531 MB / 4.117 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/10.75, allocations: 127.8 kB / 4.117 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/10.75, allocations: 39.98 kB / 4.117 GB, free: 5.332 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/10.75, allocations: 4 kB / 4.117 GB, free: 5.328 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003243/10.75, allocations: 1.432 MB / 4.118 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/10.75, allocations: 0 / 4.118 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/10.75, allocations: 415.6 kB / 4.119 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/10.75, allocations: 163.8 kB / 4.119 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/10.76, allocations: 7.465 MB / 4.126 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/10.76, allocations: 119.8 kB / 4.126 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/10.76, allocations: 43.98 kB / 4.126 GB, free: 11.19 MB / 0.9636 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.0005127/10.76, allocations: 162.5 kB / 4.126 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003776/10.76, allocations: 1.324 MB / 4.128 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/10.77, allocations: 158.1 kB / 4.128 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/10.77, allocations: 1.407 MB / 4.129 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/10.77, allocations: 8 kB / 4.129 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/10.77, allocations: 4 kB / 4.129 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003229/10.77, allocations: 1.274 MB / 4.13 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0078/10.78, allocations: 3.138 MB / 4.134 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/10.78, allocations: 8.031 kB / 4.134 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/10.78, allocations: 191.7 kB / 4.134 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/10.78, allocations: 197.5 kB / 4.134 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/10.78, allocations: 19.98 kB / 4.134 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/10.78, allocations: 2.423 MB / 4.136 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/10.78, allocations: 11.94 kB / 4.136 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7518/11.54, allocations: 2.325 MB / 4.139 GB, free: 151.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/11.54, allocations: 343.9 kB / 4.139 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/11.54, allocations: 11.23 kB / 4.139 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/11.54, allocations: 126.2 kB / 4.139 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/11.54, allocations: 69.7 kB / 4.139 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/11.54, allocations: 44.2 kB / 4.139 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001459/11.54, allocations: 0.6935 MB / 4.14 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.91e-07/11.54, allocations: 1.125 kB / 4.14 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005194/11.55, allocations: 0.9718 MB / 4.141 GB, free: 151.2 MB / 0.9636 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.009808/11.56, allocations: 6.412 MB / 4.147 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004211/11.56, allocations: 2.554 MB / 4.15 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/11.56, allocations: 3.094 kB / 4.15 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/11.56, allocations: 0.679 MB / 4.15 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/11.57, allocations: 0.7209 MB / 4.151 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/11.57, allocations: 2.884 MB / 4.154 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009179/11.57, allocations: 1.386 MB / 4.155 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002183/11.58, allocations: 426.2 kB / 4.155 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/11.58, allocations: 0.6075 MB / 4.156 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.222e-06/11.58, allocations: 0 / 4.156 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/11.71, allocations: 63.58 MB / 4.218 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/11.71, allocations: 174.3 kB / 4.218 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.463/16.17, allocations: 9.531 kB / 4.218 GB, free: 144.4 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)