Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.773/1.773, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 168.6 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008131/0.000813, allocations: 94.48 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004602, allocations: 12 kB / 0.9088 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8974, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/2.028, allocations: 433.1 MB / 1.449 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/2.028, allocations: 99.56 kB / 1.449 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.664/4.692, allocations: 0.7021 GB / 2.151 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.445e-06/4.692, allocations: 0 / 2.151 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003411/4.692, allocations: 37.38 kB / 2.151 GB, free: 152.6 MB / 0.9636 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.006456/4.699, allocations: 2.114 MB / 2.154 GB, free: 151.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/4.699, allocations: 9.344 kB / 2.154 GB, free: 151.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/4.701, allocations: 353.8 kB / 2.154 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/4.719, allocations: 8.01 MB / 2.162 GB, free: 151 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/4.719, allocations: 67.78 kB / 2.162 GB, free: 151 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/4.72, allocations: 86.28 kB / 2.162 GB, free: 151 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/4.723, allocations: 1.046 MB / 2.163 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/4.723, allocations: 6.281 kB / 2.163 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/4.723, allocations: 30.66 kB / 2.163 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/4.723, allocations: 25.59 kB / 2.163 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/4.725, allocations: 0.7784 MB / 2.164 GB, free: 150.8 MB / 0.9636 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.007968/4.733, allocations: 4.689 MB / 2.168 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/4.734, allocations: 0.5275 MB / 2.169 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/4.735, allocations: 301.4 kB / 2.169 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002951/4.738, allocations: 1.649 MB / 2.171 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009445/4.739, allocations: 432.7 kB / 2.171 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009185/4.74, allocations: 73.3 kB / 2.171 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 6.702e-06/4.74, allocations: 3.188 kB / 2.171 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47): time 0.0032/4.743, allocations: 1.243 MB / 2.172 GB, free: 146.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/4.743, allocations: 112.2 kB / 2.172 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/4.746, allocations: 1.233 MB / 2.174 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/4.746, allocations: 39.11 kB / 2.174 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/4.747, allocations: 0.6488 MB / 2.174 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/4.747, allocations: 157.7 kB / 2.175 GB, free: 146.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/4.747, allocations: 12.59 kB / 2.175 GB, free: 146.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/4.747, allocations: 331.4 kB / 2.175 GB, free: 146 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/4.748, allocations: 270.8 kB / 2.175 GB, free: 146 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/4.749, allocations: 0.5395 MB / 2.176 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/4.75, allocations: 0.8319 MB / 2.176 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/4.75, allocations: 5.844 kB / 2.176 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002697/4.753, allocations: 1.016 MB / 2.177 GB, free: 145.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/4.753, allocations: 330.7 kB / 2.178 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/4.753, allocations: 8.906 kB / 2.178 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/4.754, allocations: 82.5 kB / 2.178 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/4.755, allocations: 158.8 kB / 2.178 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006246/4.755, allocations: 1.134 MB / 2.179 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/4.757, allocations: 87.89 kB / 2.179 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/4.757, allocations: 46.05 kB / 2.179 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/4.757, allocations: 3.188 kB / 2.179 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/4.759, allocations: 0.8656 MB / 2.18 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/4.759, allocations: 9.688 kB / 2.18 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/4.759, allocations: 89.28 kB / 2.18 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/4.76, allocations: 152.8 kB / 2.18 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/4.76, allocations: 1.124 MB / 2.181 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/4.762, allocations: 82.3 kB / 2.181 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/4.762, allocations: 44.12 kB / 2.182 GB, free: 142.7 MB / 0.9636 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.001203/4.763, allocations: 0.4918 MB / 2.182 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/4.764, allocations: 138.2 kB / 2.182 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/4.766, allocations: 1.013 MB / 2.183 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/4.766, allocations: 6.219 kB / 2.183 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/4.766, allocations: 3.219 kB / 2.183 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/4.766, allocations: 2.484 kB / 2.183 GB, free: 142.2 MB / 0.9636 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.005271/4.772, allocations: 2.094 MB / 2.185 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/4.772, allocations: 0 / 2.185 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/4.772, allocations: 99.91 kB / 2.185 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/4.773, allocations: 86.3 kB / 2.185 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.115e-05/4.773, allocations: 19.83 kB / 2.185 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005735/4.773, allocations: 1.117 MB / 2.186 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/4.773, allocations: 10.58 kB / 2.186 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/4.776, allocations: 1.109 MB / 2.188 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/4.777, allocations: 295.6 kB / 2.188 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/4.777, allocations: 13.5 kB / 2.188 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/4.778, allocations: 78.44 kB / 2.188 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/4.778, allocations: 43.55 kB / 2.188 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.74e-05/4.778, allocations: 30.27 kB / 2.188 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001975/4.78, allocations: 0.8403 MB / 2.189 GB, free: 140 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.673e-06/4.78, allocations: 0 / 2.189 GB, free: 140 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003955/4.784, allocations: 0.7439 MB / 2.19 GB, free: 139.9 MB / 0.9636 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.002632/4.787, allocations: 0.9684 MB / 2.19 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003109/4.79, allocations: 1.24 MB / 2.192 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/4.79, allocations: 0 / 2.192 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009161/4.791, allocations: 433.3 kB / 2.192 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/4.795, allocations: 0.6197 MB / 2.193 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/4.801, allocations: 2.67 MB / 2.195 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/4.803, allocations: 1.212 MB / 2.197 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002054/4.805, allocations: 297.7 kB / 2.197 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/4.805, allocations: 96.23 kB / 2.197 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/4.805, allocations: 3.188 kB / 2.197 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.06861/4.874, allocations: 30.72 MB / 2.227 GB, free: 136.1 MB / 0.9636 GB make -j1 -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)