Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.5 MB / 257 MB, free: 6.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 168.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 92.45 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.631e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.346/6.57, allocations: 2.205 GB / 3.09 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/6.57, allocations: 92.92 kB / 3.09 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.603/10.17, allocations: 0.9953 GB / 4.085 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/10.17, allocations: 0 / 4.085 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001574/10.17, allocations: 43.75 kB / 4.085 GB, free: 134.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004316/10.18, allocations: 2.071 MB / 4.087 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/10.18, allocations: 11.41 kB / 4.087 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/10.18, allocations: 0.6185 MB / 4.088 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/10.18, allocations: 1.44 MB / 4.089 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/10.19, allocations: 116 kB / 4.089 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/10.19, allocations: 74.84 kB / 4.09 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001722/10.19, allocations: 0.9809 MB / 4.091 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/10.19, allocations: 1.201 MB / 4.092 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/10.19, allocations: 0 / 4.092 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/10.19, allocations: 3.438 kB / 4.092 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/10.19, allocations: 41.08 kB / 4.092 GB, free: 130.2 MB / 0.8698 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.007175/10.2, allocations: 5.631 MB / 4.097 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/10.2, allocations: 0.9357 MB / 4.098 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/10.2, allocations: 458.1 kB / 4.099 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/10.2, allocations: 319.1 kB / 4.099 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006694/10.2, allocations: 0.5096 MB / 4.099 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 2.996e-06/10.2, allocations: 0 / 4.099 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.006862/10.21, allocations: 2.967 MB / 4.102 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/10.21, allocations: 204.5 kB / 4.102 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/10.21, allocations: 0.9135 MB / 4.103 GB, free: 120 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/10.21, allocations: 33.64 kB / 4.103 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/10.21, allocations: 0.732 MB / 4.104 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/10.21, allocations: 314 kB / 4.104 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/10.21, allocations: 0 / 4.104 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/10.21, allocations: 345.9 kB / 4.105 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/10.21, allocations: 366.5 kB / 4.105 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/10.21, allocations: 0.587 MB / 4.106 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/10.21, allocations: 1.338 MB / 4.107 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/10.21, allocations: 2.75 kB / 4.107 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003532/10.22, allocations: 1.606 MB / 4.109 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/10.22, allocations: 1.281 MB / 4.11 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/10.22, allocations: 4 kB / 4.11 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009176/10.22, allocations: 410.2 kB / 4.11 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/10.22, allocations: 171.7 kB / 4.11 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/10.22, allocations: 6.522 MB / 4.117 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/10.23, allocations: 123.8 kB / 4.117 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/10.23, allocations: 39.98 kB / 4.117 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/10.23, allocations: 4 kB / 4.117 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003266/10.23, allocations: 1.427 MB / 4.118 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/10.23, allocations: 4 kB / 4.118 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008956/10.23, allocations: 410.8 kB / 4.119 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/10.23, allocations: 171.8 kB / 4.119 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/10.24, allocations: 7.441 MB / 4.126 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/10.24, allocations: 119.8 kB / 4.126 GB, free: 95.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/10.24, allocations: 39.98 kB / 4.126 GB, free: 95.49 MB / 0.8698 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.000485/10.24, allocations: 169.8 kB / 4.126 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003424/10.24, allocations: 1.315 MB / 4.128 GB, free: 93.99 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/10.24, allocations: 162.1 kB / 4.128 GB, free: 93.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/10.25, allocations: 1.395 MB / 4.129 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/10.25, allocations: 8 kB / 4.129 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/10.25, allocations: 0 / 4.129 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/10.25, allocations: 1.281 MB / 4.13 GB, free: 91.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005649/10.26, allocations: 3.139 MB / 4.134 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/10.26, allocations: 4 kB / 4.134 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/10.26, allocations: 192.2 kB / 4.134 GB, free: 87.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/10.26, allocations: 188.6 kB / 4.134 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/10.26, allocations: 19.98 kB / 4.134 GB, free: 87.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/10.26, allocations: 2.41 MB / 4.136 GB, free: 84.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/10.26, allocations: 7.938 kB / 4.136 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/10.26, allocations: 2.328 MB / 4.139 GB, free: 82.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007713/10.26, allocations: 347.2 kB / 4.139 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/10.26, allocations: 12 kB / 4.139 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/10.27, allocations: 131.7 kB / 4.139 GB, free: 81.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/10.27, allocations: 79.86 kB / 4.139 GB, free: 81.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/10.27, allocations: 39.98 kB / 4.139 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009117/10.27, allocations: 0.6992 MB / 4.14 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/10.27, allocations: 0 / 4.14 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003695/10.27, allocations: 0.9451 MB / 4.141 GB, free: 80.13 MB / 0.8698 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.007013/10.28, allocations: 6.398 MB / 4.147 GB, free: 73.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003117/10.28, allocations: 2.557 MB / 4.149 GB, free: 71.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/10.28, allocations: 0 / 4.149 GB, free: 71.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007769/10.28, allocations: 0.6809 MB / 4.15 GB, free: 70.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003733/10.28, allocations: 0.728 MB / 4.151 GB, free: 69.71 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/10.29, allocations: 2.886 MB / 4.154 GB, free: 66.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/10.29, allocations: 1.393 MB / 4.155 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001916/10.29, allocations: 426.8 kB / 4.155 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/10.29, allocations: 0.6086 MB / 4.156 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/10.29, allocations: 0 / 4.156 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09555/10.39, allocations: 63.55 MB / 4.218 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/10.39, allocations: 186.4 kB / 4.218 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.209/14.6, allocations: 3.938 kB / 4.218 GB, free: 1.008 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)