Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001485/0.001485, allocations: 189 kB / 371.8 MB, free: 10.29 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.925/1.925, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001075/0.001075, allocations: 90.66 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 15.2 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.391, allocations: 443.1 MB / 1.412 GB, free: 2.348 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.391, allocations: 102.9 kB / 1.412 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.631/4.022, allocations: 0.6955 GB / 2.108 GB, free: 70.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.064e-06/4.022, allocations: 0 / 2.108 GB, free: 70.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003047/4.023, allocations: 47.86 kB / 2.108 GB, free: 70.74 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.007066/4.03, allocations: 2.138 MB / 2.11 GB, free: 68.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/4.03, allocations: 12.03 kB / 2.11 GB, free: 68.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/4.032, allocations: 338.4 kB / 2.11 GB, free: 68.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/4.051, allocations: 8.624 MB / 2.119 GB, free: 59.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/4.051, allocations: 70 kB / 2.119 GB, free: 59.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/4.051, allocations: 84 kB / 2.119 GB, free: 59.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/4.054, allocations: 1.039 MB / 2.12 GB, free: 58.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/4.054, allocations: 0 / 2.12 GB, free: 58.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/4.054, allocations: 36 kB / 2.12 GB, free: 58.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/4.054, allocations: 20 kB / 2.12 GB, free: 58.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/4.056, allocations: 0.7767 MB / 2.121 GB, free: 57.37 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.00748/4.064, allocations: 4.739 MB / 2.125 GB, free: 52.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/4.065, allocations: 0.5186 MB / 2.126 GB, free: 51.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002617/4.068, allocations: 1.677 MB / 2.127 GB, free: 49.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/4.069, allocations: 441.3 kB / 2.128 GB, free: 49.53 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006716/4.069, allocations: 79.41 kB / 2.128 GB, free: 49.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.318e-06/4.069, allocations: 0 / 2.128 GB, free: 49.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002986/4.072, allocations: 1.321 MB / 2.129 GB, free: 48.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/4.072, allocations: 118.8 kB / 2.129 GB, free: 47.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/4.074, allocations: 1.106 MB / 2.13 GB, free: 46.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/4.074, allocations: 41.7 kB / 2.13 GB, free: 46.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/4.075, allocations: 0.6494 MB / 2.131 GB, free: 46.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/4.075, allocations: 153.8 kB / 2.131 GB, free: 45.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/4.075, allocations: 12 kB / 2.131 GB, free: 45.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/4.075, allocations: 335.5 kB / 2.132 GB, free: 45.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/4.076, allocations: 269.1 kB / 2.132 GB, free: 45.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/4.077, allocations: 0.5366 MB / 2.132 GB, free: 44.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/4.077, allocations: 369.5 kB / 2.133 GB, free: 44.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/4.077, allocations: 4 kB / 2.133 GB, free: 44.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002092/4.08, allocations: 1.012 MB / 2.134 GB, free: 43.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006162/4.08, allocations: 2.788 MB / 2.136 GB, free: 40.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/4.08, allocations: 11.98 kB / 2.136 GB, free: 40.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/4.081, allocations: 89.66 kB / 2.136 GB, free: 40.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/4.081, allocations: 155.7 kB / 2.137 GB, free: 40.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005249/4.082, allocations: 1.128 MB / 2.138 GB, free: 38.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/4.083, allocations: 83.92 kB / 2.138 GB, free: 38.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/4.083, allocations: 47.98 kB / 2.138 GB, free: 38.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/4.083, allocations: 0 / 2.138 GB, free: 38.76 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001919/4.085, allocations: 0.873 MB / 2.139 GB, free: 37.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/4.085, allocations: 11.94 kB / 2.139 GB, free: 37.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/4.086, allocations: 90.27 kB / 2.139 GB, free: 37.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/4.086, allocations: 151.8 kB / 2.139 GB, free: 37.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006223/4.087, allocations: 1.124 MB / 2.14 GB, free: 36.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/4.088, allocations: 79.89 kB / 2.14 GB, free: 36.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/4.088, allocations: 43.98 kB / 2.14 GB, free: 36.32 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 () * 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.001395/4.09, allocations: 490.6 kB / 2.141 GB, free: 35.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/4.09, allocations: 138.3 kB / 2.141 GB, free: 35.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/4.093, allocations: 1.007 MB / 2.142 GB, free: 34.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/4.093, allocations: 11.94 kB / 2.142 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/4.093, allocations: 8 kB / 2.142 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/4.093, allocations: 7.984 kB / 2.142 GB, free: 34.63 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.004878/4.098, allocations: 2.106 MB / 2.144 GB, free: 32.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/4.098, allocations: 0 / 2.144 GB, free: 32.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/4.099, allocations: 103.8 kB / 2.144 GB, free: 32.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/4.099, allocations: 73.81 kB / 2.144 GB, free: 32.26 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/4.099, allocations: 27.97 kB / 2.144 GB, free: 32.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005045/4.1, allocations: 1.113 MB / 2.145 GB, free: 31.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/4.1, allocations: 8.016 kB / 2.145 GB, free: 31.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/4.102, allocations: 1.176 MB / 2.146 GB, free: 29.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008005/4.103, allocations: 307 kB / 2.147 GB, free: 29.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/4.103, allocations: 16 kB / 2.147 GB, free: 29.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/4.104, allocations: 75.86 kB / 2.147 GB, free: 29.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/4.104, allocations: 47.94 kB / 2.147 GB, free: 29.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-05/4.104, allocations: 31.97 kB / 2.147 GB, free: 29.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001695/4.106, allocations: 0.8676 MB / 2.148 GB, free: 28.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/4.106, allocations: 0 / 2.148 GB, free: 28.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003483/4.11, allocations: 0.7759 MB / 2.148 GB, free: 27.67 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) * 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.002426/4.112, allocations: 1.009 MB / 2.149 GB, free: 26.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00277/4.115, allocations: 1.244 MB / 2.151 GB, free: 25.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/4.115, allocations: 4 kB / 2.151 GB, free: 25.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008409/4.116, allocations: 436.1 kB / 2.151 GB, free: 24.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/4.119, allocations: 0.6163 MB / 2.152 GB, free: 24.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/4.124, allocations: 2.658 MB / 2.154 GB, free: 21.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/4.125, allocations: 1.237 MB / 2.155 GB, free: 20.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001751/4.127, allocations: 294.8 kB / 2.156 GB, free: 20.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/4.127, allocations: 111.4 kB / 2.156 GB, free: 19.97 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/4.127, allocations: 0 / 2.156 GB, free: 19.97 MB / 0.948 GB Notification: Performance of Templates: time 0.674/4.801, allocations: 31.15 MB / 2.186 GB, free: 151.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)