Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.889/3.889, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002637/0.002637, allocations: 186.9 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.203/4.203, allocations: 205.4 MB / 0.5772 GB, free: 21.18 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.001518/0.001518, allocations: 97.48 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 17.5 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3727, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.06/10.43, allocations: 2.204 GB / 3.104 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/10.43, allocations: 99.08 kB / 3.104 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.417/16.85, allocations: 0.9956 GB / 4.099 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.589e-06/16.85, allocations: 0 / 4.099 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005988/16.85, allocations: 51.95 kB / 4.099 GB, free: 121.7 MB / 0.8855 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.01524/16.86, allocations: 2.376 MB / 4.102 GB, free: 121 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/16.86, allocations: 12.75 kB / 4.102 GB, free: 121 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/16.87, allocations: 0.6139 MB / 4.102 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/16.89, allocations: 1.454 MB / 4.104 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/16.89, allocations: 158 kB / 4.104 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/16.89, allocations: 130.8 kB / 4.104 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009675/16.9, allocations: 1.482 MB / 4.105 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/16.9, allocations: 0.75 kB / 4.105 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/16.9, allocations: 47.44 kB / 4.106 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/16.9, allocations: 44.42 kB / 4.106 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009588/16.91, allocations: 1.252 MB / 4.107 GB, free: 120.3 MB / 0.8855 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.02632/16.93, allocations: 5.885 MB / 4.113 GB, free: 118 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/16.94, allocations: 1.16 MB / 4.114 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/16.94, allocations: 0.5723 MB / 4.114 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/16.95, allocations: 309.6 kB / 4.115 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003824/16.95, allocations: 0.6351 MB / 4.115 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 8.497e-06/16.95, allocations: 3.5 kB / 4.115 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.03418/16.98, allocations: 4.352 MB / 4.119 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/16.98, allocations: 190.5 kB / 4.12 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005825/16.99, allocations: 1.345 MB / 4.121 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005099/16.99, allocations: 47.17 kB / 4.121 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/16.99, allocations: 0.7218 MB / 4.122 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009936/16.99, allocations: 327.5 kB / 4.122 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/16.99, allocations: 21.44 kB / 4.122 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001952/16.99, allocations: 342.6 kB / 4.122 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/17, allocations: 483.1 kB / 4.123 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/17, allocations: 0.7152 MB / 4.123 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03038/17.03, allocations: 2.543 MB / 4.126 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/17.03, allocations: 0 / 4.126 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01294/17.04, allocations: 1.839 MB / 4.128 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/17.04, allocations: 227.3 kB / 4.128 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/17.04, allocations: 2.625 kB / 4.128 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/17.05, allocations: 471.9 kB / 4.128 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/17.05, allocations: 173.5 kB / 4.129 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/17.07, allocations: 7.029 MB / 4.135 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/17.07, allocations: 153.8 kB / 4.136 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/17.07, allocations: 40.89 kB / 4.136 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/17.07, allocations: 5.531 kB / 4.136 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/17.09, allocations: 1.669 MB / 4.137 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/17.09, allocations: 1.719 kB / 4.137 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/17.09, allocations: 451.6 kB / 4.138 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/17.09, allocations: 177.5 kB / 4.138 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/17.11, allocations: 8.021 MB / 4.146 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/17.12, allocations: 155.7 kB / 4.146 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004515/17.12, allocations: 44.19 kB / 4.146 GB, free: 104.7 MB / 0.8855 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.002488/17.12, allocations: 0.5034 MB / 4.146 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009857/17.12, allocations: 170.1 kB / 4.147 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/17.13, allocations: 1.683 MB / 4.148 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/17.13, allocations: 7.438 kB / 4.148 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/17.13, allocations: 3.844 kB / 4.148 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01043/17.14, allocations: 1.531 MB / 4.15 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/17.16, allocations: 3.545 MB / 4.153 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/17.16, allocations: 3.969 kB / 4.153 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/17.16, allocations: 191.4 kB / 4.153 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/17.17, allocations: 233.8 kB / 4.154 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/17.17, allocations: 31.39 kB / 4.154 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009375/17.18, allocations: 2.646 MB / 4.156 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-05/17.18, allocations: 8.156 kB / 4.156 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/17.19, allocations: 2.466 MB / 4.159 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/17.19, allocations: 368.8 kB / 4.159 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/17.2, allocations: 27.47 kB / 4.159 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004577/17.2, allocations: 143.2 kB / 4.159 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/17.2, allocations: 73.23 kB / 4.159 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003573/17.2, allocations: 39.59 kB / 4.159 GB, free: 101 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006042/17.21, allocations: 0.9128 MB / 4.16 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.784e-06/17.21, allocations: 0 / 4.16 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009907/17.22, allocations: 0.957 MB / 4.161 GB, free: 100.9 MB / 0.8855 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.006979/17.22, allocations: 2.33 MB / 4.163 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01336/17.24, allocations: 2.943 MB / 4.166 GB, free: 99.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-05/17.24, allocations: 2.75 kB / 4.166 GB, free: 99.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003993/17.24, allocations: 0.8112 MB / 4.167 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/17.26, allocations: 0.8671 MB / 4.168 GB, free: 98.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/17.27, allocations: 3.957 MB / 4.172 GB, free: 97.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/17.28, allocations: 1.36 MB / 4.173 GB, free: 96.58 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004665/17.28, allocations: 335.7 kB / 4.173 GB, free: 96.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/17.28, allocations: 116.6 kB / 4.173 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of SimCode: time 2.465e-06/17.28, allocations: 0 / 4.173 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of Templates: time 0.2201/17.5, allocations: 60.99 MB / 4.233 GB, free: 94.39 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)