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.77/2.77, allocations: 287.3 MB / 302.3 MB, free: 8.199 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.001582/0.001582, allocations: 182.8 kB / 370.8 MB, free: 10.85 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.105/2.105, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 96.39 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007069/0.0007071, allocations: 12.64 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2697, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.743/7.013, allocations: 2.086 GB / 3.064 GB, free: 187.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/7.013, allocations: 94.86 kB / 3.064 GB, free: 187.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.506/12.52, allocations: 1.038 GB / 4.102 GB, free: 156.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.676e-06/12.52, allocations: 0 / 4.102 GB, free: 156.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002504/12.52, allocations: 51.03 kB / 4.102 GB, free: 156.2 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.008051/12.53, allocations: 2.377 MB / 4.104 GB, free: 155.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/12.53, allocations: 10.34 kB / 4.104 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006749/12.53, allocations: 174.8 kB / 4.104 GB, free: 155 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/12.54, allocations: 0.6365 MB / 4.105 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/12.54, allocations: 1.442 MB / 4.106 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006672/12.54, allocations: 160.8 kB / 4.107 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/12.54, allocations: 126.8 kB / 4.107 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/12.55, allocations: 1.463 MB / 4.108 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/12.55, allocations: 0 / 4.108 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/12.55, allocations: 47.31 kB / 4.108 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/12.55, allocations: 43.31 kB / 4.108 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005032/12.55, allocations: 1.25 MB / 4.109 GB, free: 154.3 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01439/12.57, allocations: 5.887 MB / 4.115 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/12.57, allocations: 1.16 MB / 4.116 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/12.57, allocations: 312.1 kB / 4.117 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/12.57, allocations: 0.6346 MB / 4.117 GB, free: 151.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.537e-06/12.57, allocations: 0 / 4.117 GB, free: 151.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01939/12.59, allocations: 4.414 MB / 4.122 GB, free: 150.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.945e-05/12.59, allocations: 200.3 kB / 4.122 GB, free: 150.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/12.59, allocations: 1.163 MB / 4.123 GB, free: 149.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003315/12.59, allocations: 48.45 kB / 4.123 GB, free: 149.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/12.6, allocations: 0.7297 MB / 4.124 GB, free: 149.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/12.6, allocations: 323.6 kB / 4.124 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/12.6, allocations: 21.22 kB / 4.124 GB, free: 149.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/12.6, allocations: 335 kB / 4.124 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/12.6, allocations: 487 kB / 4.125 GB, free: 149.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/12.6, allocations: 0.7079 MB / 4.125 GB, free: 148.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/12.62, allocations: 2.549 MB / 4.128 GB, free: 148.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/12.62, allocations: 7.359 kB / 4.128 GB, free: 148.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007702/12.63, allocations: 1.819 MB / 4.13 GB, free: 148.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000318/12.63, allocations: 1.303 MB / 4.131 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/12.63, allocations: 3.438 kB / 4.131 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/12.63, allocations: 454.2 kB / 4.131 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/12.63, allocations: 169.8 kB / 4.132 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/12.64, allocations: 7.201 MB / 4.139 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/12.65, allocations: 158.1 kB / 4.139 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/12.65, allocations: 41.47 kB / 4.139 GB, free: 142.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/12.65, allocations: 5.812 kB / 4.139 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007153/12.65, allocations: 1.675 MB / 4.14 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/12.65, allocations: 2.406 kB / 4.141 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/12.66, allocations: 447.5 kB / 4.141 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/12.66, allocations: 170.2 kB / 4.141 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/12.67, allocations: 8.234 MB / 4.149 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/12.67, allocations: 146.4 kB / 4.149 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/12.67, allocations: 38.89 kB / 4.149 GB, free: 137.2 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. 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 () * Number of clocked 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.001358/12.68, allocations: 0.5051 MB / 4.15 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/12.68, allocations: 164.8 kB / 4.15 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/12.68, allocations: 1.677 MB / 4.152 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/12.68, allocations: 7.375 kB / 4.152 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/12.68, allocations: 3.953 kB / 4.152 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006328/12.69, allocations: 1.534 MB / 4.153 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/12.7, allocations: 3.544 MB / 4.157 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/12.7, allocations: 6.125 kB / 4.157 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/12.7, allocations: 196.7 kB / 4.157 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/12.7, allocations: 236.8 kB / 4.157 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/12.7, allocations: 33.61 kB / 4.157 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/12.71, allocations: 2.715 MB / 4.16 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/12.71, allocations: 7.719 kB / 4.16 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009149/12.72, allocations: 2.709 MB / 4.162 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/12.72, allocations: 362.8 kB / 4.163 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/12.72, allocations: 30.53 kB / 4.163 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/12.72, allocations: 139.5 kB / 4.163 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/12.72, allocations: 72.06 kB / 4.163 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/12.72, allocations: 46.23 kB / 4.163 GB, free: 130.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001981/12.73, allocations: 0.9084 MB / 4.164 GB, free: 130.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.6e-07/12.73, allocations: 0 / 4.164 GB, free: 130.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005139/12.73, allocations: 1.018 MB / 4.165 GB, free: 129.9 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.01373/12.75, allocations: 6.532 MB / 4.171 GB, free: 126.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008024/12.75, allocations: 2.957 MB / 4.174 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/12.75, allocations: 0 / 4.174 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002325/12.76, allocations: 0.804 MB / 4.175 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007433/12.76, allocations: 0.8674 MB / 4.176 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/12.8, allocations: 12.82 MB / 4.188 GB, free: 116.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/12.8, allocations: 1.386 MB / 4.19 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002553/12.8, allocations: 343 kB / 4.19 GB, free: 115.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/12.8, allocations: 0.6288 MB / 4.191 GB, free: 114.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.103e-06/12.8, allocations: 0 / 4.191 GB, free: 114.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/13.01, allocations: 84.18 MB / 4.273 GB, free: 43.98 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/13.01, allocations: 254.4 kB / 4.273 GB, free: 43.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/19.62, allocations: 0 / 4.273 GB, free: 43.64 MB / 0.948 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)