Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 289.7 MB / 302.3 MB, free: 2.098 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.001067/0.001067, allocations: 175.3 kB / 371.6 MB, free: 3.422 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.811/1.811, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.00097/0.0009699, allocations: 91.89 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.608e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3567, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.165/2.522, allocations: 444 MB / 1.413 GB, free: 253.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/2.522, allocations: 95.39 kB / 1.414 GB, free: 253.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.093/5.616, allocations: 0.6933 GB / 2.107 GB, free: 138.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/5.616, allocations: 0 / 2.107 GB, free: 138.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002143/5.616, allocations: 42.27 kB / 2.107 GB, free: 138.5 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.004671/5.621, allocations: 1.72 MB / 2.109 GB, free: 138 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/5.621, allocations: 10.09 kB / 2.109 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/5.623, allocations: 349.2 kB / 2.109 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02456/5.647, allocations: 8.54 MB / 2.117 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/5.647, allocations: 67.58 kB / 2.117 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/5.648, allocations: 91.78 kB / 2.117 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/5.651, allocations: 0.97 MB / 2.118 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/5.651, allocations: 3.453 kB / 2.118 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/5.651, allocations: 34.72 kB / 2.118 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/5.651, allocations: 19.91 kB / 2.118 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/5.653, allocations: 0.655 MB / 2.119 GB, free: 137.2 MB / 0.948 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.01181/5.665, allocations: 4.725 MB / 2.124 GB, free: 135 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/5.666, allocations: 434.7 kB / 2.124 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/5.667, allocations: 236.2 kB / 2.124 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003045/5.67, allocations: 1.69 MB / 2.126 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/5.67, allocations: 376.8 kB / 2.126 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006859/5.671, allocations: 81.72 kB / 2.126 GB, free: 133.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.737e-06/5.671, allocations: 0 / 2.126 GB, free: 133.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001569/5.673, allocations: 0.6845 MB / 2.127 GB, free: 133.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/5.673, allocations: 113.8 kB / 2.127 GB, free: 133.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/5.675, allocations: 1.095 MB / 2.128 GB, free: 133.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-05/5.675, allocations: 42.92 kB / 2.128 GB, free: 133.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/5.675, allocations: 0.6473 MB / 2.129 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/5.675, allocations: 153.6 kB / 2.129 GB, free: 133 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/5.675, allocations: 14.38 kB / 2.129 GB, free: 133 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/5.676, allocations: 333.8 kB / 2.129 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/5.676, allocations: 208.5 kB / 2.13 GB, free: 132.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/5.676, allocations: 491.5 kB / 2.13 GB, free: 132.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/5.677, allocations: 303.6 kB / 2.13 GB, free: 132.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/5.677, allocations: 3.219 kB / 2.13 GB, free: 132.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001537/5.678, allocations: 0.8968 MB / 2.131 GB, free: 132.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006716/5.679, allocations: 2.791 MB / 2.134 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/5.679, allocations: 5.594 kB / 2.134 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/5.68, allocations: 93.88 kB / 2.134 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/5.68, allocations: 152.2 kB / 2.134 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/5.681, allocations: 1.13 MB / 2.135 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/5.682, allocations: 75.84 kB / 2.135 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/5.682, allocations: 47.55 kB / 2.135 GB, free: 128.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/5.682, allocations: 3.125 kB / 2.135 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/5.683, allocations: 0.7643 MB / 2.136 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/5.683, allocations: 5.875 kB / 2.136 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/5.684, allocations: 89.39 kB / 2.136 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/5.684, allocations: 152.5 kB / 2.136 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004767/5.685, allocations: 1.13 MB / 2.137 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/5.686, allocations: 78.94 kB / 2.138 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/5.686, allocations: 46.05 kB / 2.138 GB, free: 127.2 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete 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.0003182/5.686, allocations: 183.7 kB / 2.138 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/5.686, allocations: 135.6 kB / 2.138 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/5.688, allocations: 0.8959 MB / 2.139 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/5.688, allocations: 5.031 kB / 2.139 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/5.688, allocations: 2.938 kB / 2.139 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/5.688, allocations: 4.625 kB / 2.139 GB, free: 126.9 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.003383/5.692, allocations: 1.994 MB / 2.141 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/5.692, allocations: 5.406 kB / 2.141 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/5.692, allocations: 99.95 kB / 2.141 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/5.693, allocations: 78.94 kB / 2.141 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/5.693, allocations: 21.05 kB / 2.141 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/5.693, allocations: 1.119 MB / 2.142 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/5.693, allocations: 2.844 kB / 2.142 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/5.695, allocations: 1.053 MB / 2.143 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/5.695, allocations: 302.5 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/5.695, allocations: 14.72 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/5.696, allocations: 89.48 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/5.696, allocations: 37.22 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/5.696, allocations: 35.69 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001314/5.698, allocations: 0.8559 MB / 2.144 GB, free: 124.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.663e-06/5.698, allocations: 2.5 kB / 2.144 GB, free: 124.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003329/5.701, allocations: 0.7745 MB / 2.145 GB, free: 124.5 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * 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.002145/5.703, allocations: 1.015 MB / 2.146 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002126/5.705, allocations: 1.126 MB / 2.147 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/5.705, allocations: 0 / 2.147 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005143/5.706, allocations: 373.6 kB / 2.148 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.003152/5.709, allocations: 0.6113 MB / 2.148 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/5.713, allocations: 1.648 MB / 2.15 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/5.713, allocations: 1.238 MB / 2.151 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002083/5.715, allocations: 432.4 kB / 2.151 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/5.716, allocations: 82.16 kB / 2.151 GB, free: 122.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/5.716, allocations: 0 / 2.151 GB, free: 122.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0611/5.777, allocations: 35.18 MB / 2.186 GB, free: 121.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)