Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 293 MB / 309 MB, free: 4.809 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.0009091/0.0009092, allocations: 175.9 kB / 378.7 MB, free: 1.039 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.52/1.52, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.0007376/0.0007377, allocations: 94.14 kB / 0.7527 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006115/0.0006117, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2797, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.663, allocations: 444.3 MB / 1.424 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.663, allocations: 98.91 kB / 1.424 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.32/3.983, allocations: 0.689 GB / 2.113 GB, free: 146.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.386e-06/3.983, allocations: 0 / 2.113 GB, free: 146.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002116/3.983, allocations: 40.88 kB / 2.113 GB, free: 146.6 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.006346/3.99, allocations: 2.118 MB / 2.116 GB, free: 145.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/3.99, allocations: 9.531 kB / 2.116 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/3.992, allocations: 345.4 kB / 2.116 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/4.01, allocations: 7.904 MB / 2.124 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/4.01, allocations: 67.78 kB / 2.124 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/4.01, allocations: 92.97 kB / 2.124 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/4.012, allocations: 1.042 MB / 2.125 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/4.012, allocations: 3.938 kB / 2.125 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/4.012, allocations: 36.12 kB / 2.125 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/4.012, allocations: 21.31 kB / 2.125 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/4.014, allocations: 0.7725 MB / 2.126 GB, free: 145 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.006416/4.02, allocations: 4.696 MB / 2.13 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/4.022, allocations: 0.5246 MB / 2.131 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/4.022, allocations: 299.3 kB / 2.131 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/4.025, allocations: 1.651 MB / 2.133 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/4.025, allocations: 437.5 kB / 2.133 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005178/4.026, allocations: 81.28 kB / 2.133 GB, free: 141.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/4.026, allocations: 0 / 2.133 GB, free: 141.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.00268/4.029, allocations: 1.246 MB / 2.134 GB, free: 141.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/4.029, allocations: 114.9 kB / 2.134 GB, free: 141.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/4.03, allocations: 1.227 MB / 2.136 GB, free: 140.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/4.031, allocations: 38.23 kB / 2.136 GB, free: 140.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/4.031, allocations: 0.656 MB / 2.136 GB, free: 140.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/4.031, allocations: 154 kB / 2.136 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/4.031, allocations: 9.031 kB / 2.136 GB, free: 140.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/4.031, allocations: 336.2 kB / 2.137 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/4.032, allocations: 273.3 kB / 2.137 GB, free: 140.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/4.033, allocations: 0.5394 MB / 2.138 GB, free: 140 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/4.034, allocations: 0.8245 MB / 2.138 GB, free: 139.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/4.034, allocations: 0 / 2.138 GB, free: 139.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002031/4.036, allocations: 1.018 MB / 2.139 GB, free: 139.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/4.036, allocations: 327.2 kB / 2.14 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/4.036, allocations: 5.969 kB / 2.14 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/4.037, allocations: 82.94 kB / 2.14 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/4.037, allocations: 158.8 kB / 2.14 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005411/4.038, allocations: 1.132 MB / 2.141 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/4.039, allocations: 82.89 kB / 2.141 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/4.039, allocations: 48.73 kB / 2.141 GB, free: 138.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/4.039, allocations: 3.156 kB / 2.141 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/4.041, allocations: 0.8692 MB / 2.142 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/4.041, allocations: 6.188 kB / 2.142 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/4.041, allocations: 87.12 kB / 2.142 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/4.041, allocations: 155.1 kB / 2.142 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004687/4.042, allocations: 1.125 MB / 2.143 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/4.043, allocations: 82.98 kB / 2.143 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/4.043, allocations: 39.39 kB / 2.143 GB, free: 137 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00101/4.044, allocations: 0.4977 MB / 2.144 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/4.044, allocations: 139.8 kB / 2.144 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/4.046, allocations: 1.011 MB / 2.145 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/4.046, allocations: 7 kB / 2.145 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/4.046, allocations: 2.812 kB / 2.145 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/4.046, allocations: 3.469 kB / 2.145 GB, free: 136.6 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 postOpt removeSimpleEquations (simulation): time 0.003373/4.05, allocations: 2.092 MB / 2.147 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/4.05, allocations: 0 / 2.147 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/4.05, allocations: 102.9 kB / 2.147 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/4.05, allocations: 78.19 kB / 2.147 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/4.05, allocations: 16.92 kB / 2.147 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000483/4.051, allocations: 1.124 MB / 2.148 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.051, allocations: 0.75 kB / 2.148 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/4.053, allocations: 1.106 MB / 2.149 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/4.053, allocations: 290 kB / 2.15 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/4.053, allocations: 13.06 kB / 2.15 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/4.054, allocations: 88.7 kB / 2.15 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/4.054, allocations: 44.83 kB / 2.15 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/4.054, allocations: 33.52 kB / 2.15 GB, free: 134.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001266/4.056, allocations: 0.8368 MB / 2.151 GB, free: 134.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.056, allocations: 3.188 kB / 2.151 GB, free: 134.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002905/4.059, allocations: 0.7357 MB / 2.151 GB, free: 134.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/4.06, allocations: 0.9764 MB / 2.152 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00266/4.063, allocations: 1.244 MB / 2.154 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/4.063, allocations: 0 / 2.154 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008006/4.064, allocations: 434.4 kB / 2.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/4.067, allocations: 0.6135 MB / 2.155 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/4.07, allocations: 2.652 MB / 2.157 GB, free: 132.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/4.071, allocations: 1.202 MB / 2.158 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001299/4.072, allocations: 302.1 kB / 2.159 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/4.073, allocations: 105 kB / 2.159 GB, free: 131.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/4.073, allocations: 0 / 2.159 GB, free: 131.9 MB / 0.948 GB Notification: Performance of Templates: time 0.04884/4.121, allocations: 30.76 MB / 2.189 GB, free: 130.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)