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: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 252 MB / 267.9 MB, free: 10.93 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.000903/0.000903, allocations: 178.7 kB / 327.6 MB, free: 2.164 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.447/1.447, allocations: 205.4 MB / 0.5785 GB, free: 20.27 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.0008349/0.0008352, allocations: 79.19 kB / 0.6831 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 13.17 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.763/3.965, allocations: 2.204 GB / 3.106 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/3.965, allocations: 91.95 kB / 3.106 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.796/6.761, allocations: 0.9958 GB / 4.102 GB, free: 29.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.392e-06/6.761, allocations: 0 / 4.102 GB, free: 29.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002619/6.762, allocations: 51.92 kB / 4.102 GB, free: 29.44 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.006121/6.768, allocations: 2.364 MB / 4.104 GB, free: 27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/6.768, allocations: 8.031 kB / 4.104 GB, free: 26.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/6.772, allocations: 0.6189 MB / 4.105 GB, free: 26.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/6.775, allocations: 1.517 MB / 4.106 GB, free: 24.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/6.776, allocations: 158.2 kB / 4.106 GB, free: 24.65 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/6.776, allocations: 127.9 kB / 4.106 GB, free: 24.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/6.779, allocations: 1.481 MB / 4.108 GB, free: 22.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/6.779, allocations: 4 kB / 4.108 GB, free: 22.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/6.779, allocations: 48 kB / 4.108 GB, free: 22.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/6.779, allocations: 38.23 kB / 4.108 GB, free: 22.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/6.782, allocations: 1.254 MB / 4.109 GB, free: 21.61 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.008133/6.79, allocations: 5.916 MB / 4.115 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/6.791, allocations: 1.155 MB / 4.116 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009199/6.792, allocations: 0.5771 MB / 4.117 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/6.793, allocations: 307.9 kB / 4.117 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/6.794, allocations: 0.636 MB / 4.117 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 3.517e-06/6.794, allocations: 0 / 4.117 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01054/6.805, allocations: 4.361 MB / 4.122 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/6.805, allocations: 196.9 kB / 4.122 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/6.807, allocations: 1.343 MB / 4.123 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/6.807, allocations: 45.7 kB / 4.123 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/6.808, allocations: 0.7254 MB / 4.124 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/6.808, allocations: 323.2 kB / 4.124 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/6.808, allocations: 24 kB / 4.124 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/6.808, allocations: 338 kB / 4.125 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008839/6.809, allocations: 493.7 kB / 4.125 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/6.81, allocations: 0.7144 MB / 4.126 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/6.822, allocations: 3.674 MB / 4.129 GB, free: 12 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/6.822, allocations: 7.938 kB / 4.129 GB, free: 4 kB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004814/6.826, allocations: 1.847 MB / 4.131 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/6.827, allocations: 235.1 kB / 4.131 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/6.827, allocations: 4 kB / 4.131 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/6.828, allocations: 483 kB / 4.132 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/6.829, allocations: 167.8 kB / 4.132 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007941/6.837, allocations: 7.023 MB / 4.139 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/6.839, allocations: 163.7 kB / 4.139 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/6.839, allocations: 43.98 kB / 4.139 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/6.839, allocations: 5.719 kB / 4.139 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004234/6.843, allocations: 1.683 MB / 4.141 GB, free: 3.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/6.843, allocations: 8.344 kB / 4.141 GB, free: 3.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/6.844, allocations: 451.1 kB / 4.141 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/6.845, allocations: 179.7 kB / 4.141 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4377/7.283, allocations: 8.017 MB / 4.149 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/7.284, allocations: 158.1 kB / 4.149 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/7.284, allocations: 41.41 kB / 4.149 GB, free: 140.5 MB / 0.9011 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: 15 * 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 (87): * Single equations (assignments): 82 * 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.0009189/7.285, allocations: 0.5016 MB / 4.15 GB, free: 140.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/7.286, allocations: 170.6 kB / 4.15 GB, free: 140.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/7.29, allocations: 1.679 MB / 4.152 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/7.29, allocations: 8.688 kB / 4.152 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/7.29, allocations: 3.156 kB / 4.152 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003454/7.293, allocations: 1.525 MB / 4.153 GB, free: 139.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/7.301, allocations: 3.542 MB / 4.157 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/7.301, allocations: 10.91 kB / 4.157 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/7.302, allocations: 195 kB / 4.157 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007473/7.303, allocations: 229.8 kB / 4.157 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/7.303, allocations: 37.2 kB / 4.157 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/7.306, allocations: 2.655 MB / 4.16 GB, free: 137.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/7.306, allocations: 4.125 kB / 4.16 GB, free: 137.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/7.312, allocations: 2.452 MB / 4.162 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009107/7.313, allocations: 375 kB / 4.162 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/7.313, allocations: 32.73 kB / 4.162 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/7.314, allocations: 153.5 kB / 4.163 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/7.314, allocations: 64.27 kB / 4.163 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/7.314, allocations: 39.53 kB / 4.163 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001563/7.316, allocations: 0.92 MB / 4.164 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.31e-07/7.316, allocations: 3.469 kB / 4.164 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003355/7.319, allocations: 0.9593 MB / 4.165 GB, free: 137.1 MB / 0.9011 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.003237/7.322, allocations: 2.334 MB / 4.167 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004446/7.327, allocations: 2.954 MB / 4.17 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/7.327, allocations: 3.969 kB / 4.17 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/7.328, allocations: 0.7991 MB / 4.171 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/7.333, allocations: 0.8662 MB / 4.171 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/7.339, allocations: 3.956 MB / 4.175 GB, free: 133.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/7.34, allocations: 1.361 MB / 4.177 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001663/7.342, allocations: 346.4 kB / 4.177 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/7.342, allocations: 114.5 kB / 4.177 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of SimCode: time 9.52e-07/7.342, allocations: 0 / 4.177 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.07818/7.42, allocations: 61.78 MB / 4.237 GB, free: 131.3 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)