Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.713/2.713, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001375/0.001375, allocations: 170.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 0.6297 GB, free: 10.52 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.000896/0.0008955, allocations: 86.36 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 11.47 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2072, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.07819/0.2855, allocations: 52.76 MB / 1.03 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03614/0.3216, allocations: 16.37 MB / 1.046 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3244, allocations: 59.56 kB / 1.046 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.3281, allocations: 0.6912 MB / 1.047 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007645/0.3358, allocations: 1.696 MB / 1.048 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006554/0.3423, allocations: 1.375 MB / 1.05 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008543/0.3509, allocations: 4.304 MB / 1.054 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.3537, allocations: 1.022 MB / 1.055 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.358, allocations: 1.248 MB / 1.056 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.3607, allocations: 0.9683 MB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000552/0.3613, allocations: 59.83 kB / 1.057 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.3658, allocations: 1.061 MB / 1.058 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009013/0.3667, allocations: 318.6 kB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008242/0.3675, allocations: 364.8 kB / 1.059 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.3729, allocations: 2.315 MB / 1.061 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3729, allocations: 0 / 1.061 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3729, allocations: 0 / 1.061 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.632e-05/0.373, allocations: 0 / 1.061 GB, free: 7.523 MB / 0.6823 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.005756/0.3788, allocations: 1.834 MB / 1.063 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3789, allocations: 12.03 kB / 1.063 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.3821, allocations: 401.6 kB / 1.063 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.3873, allocations: 1.507 MB / 1.065 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/0.3886, allocations: 209.8 kB / 1.065 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.3889, allocations: 88 kB / 1.065 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.393, allocations: 1.122 MB / 1.066 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.3931, allocations: 3.938 kB / 1.066 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.3932, allocations: 35.94 kB / 1.066 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.3933, allocations: 20 kB / 1.066 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004566/0.3979, allocations: 0.9525 MB / 1.067 GB, free: 1.195 MB / 0.6823 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.6877/1.086, allocations: 4.991 MB / 1.072 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/1.09, allocations: 0.7241 MB / 1.073 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.091, allocations: 384.4 kB / 1.073 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004057/1.096, allocations: 1.83 MB / 1.075 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/1.098, allocations: 484.7 kB / 1.075 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007491/1.099, allocations: 74.14 kB / 1.075 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.887e-06/1.099, allocations: 3.938 kB / 1.075 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.006228/1.105, allocations: 1.192 MB / 1.076 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.105, allocations: 84.72 kB / 1.077 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/1.108, allocations: 1.299 MB / 1.078 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/1.109, allocations: 37.45 kB / 1.078 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/1.109, allocations: 0.6561 MB / 1.078 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.11, allocations: 144.3 kB / 1.079 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/1.11, allocations: 16.19 kB / 1.079 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/1.11, allocations: 330.5 kB / 1.079 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/1.112, allocations: 366.7 kB / 1.079 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/1.114, allocations: 0.6219 MB / 1.08 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/1.116, allocations: 439.9 kB / 1.08 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.116, allocations: 2.375 kB / 1.08 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005203/1.122, allocations: 1.147 MB / 1.081 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/1.122, allocations: 323.7 kB / 1.082 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.122, allocations: 6.938 kB / 1.082 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/1.122, allocations: 20.02 kB / 1.082 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/1.124, allocations: 196.1 kB / 1.082 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/1.124, allocations: 15.22 kB / 1.082 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/1.126, allocations: 125.2 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.126, allocations: 37.48 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.126, allocations: 3.906 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004031/1.13, allocations: 0.9697 MB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.13, allocations: 7.188 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.13, allocations: 15.53 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.132, allocations: 187.4 kB / 1.083 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/1.132, allocations: 12.05 kB / 1.083 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.134, allocations: 113.2 kB / 1.083 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.134, allocations: 39.59 kB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (76): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001183/1.135, allocations: 0.4895 MB / 1.084 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/1.135, allocations: 140.1 kB / 1.084 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004841/1.14, allocations: 1.073 MB / 1.085 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/1.14, allocations: 8.594 kB / 1.085 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.14, allocations: 0.6094 kB / 1.085 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.14, allocations: 1.875 kB / 1.085 GB, free: 81.27 MB / 0.6823 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.007628/1.148, allocations: 2.226 MB / 1.087 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.148, allocations: 2.109 kB / 1.087 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.149, allocations: 133.2 kB / 1.087 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/1.149, allocations: 3.375 kB / 1.087 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.149, allocations: 20.95 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.149, allocations: 6.672 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.15, allocations: 1.406 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/1.154, allocations: 1.115 MB / 1.089 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009096/1.155, allocations: 312.6 kB / 1.089 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.155, allocations: 13.61 kB / 1.089 GB, free: 79.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.157, allocations: 120.7 kB / 1.089 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.157, allocations: 37.28 kB / 1.089 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.157, allocations: 27.75 kB / 1.089 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002257/1.16, allocations: 0.8814 MB / 1.09 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.32e-07/1.16, allocations: 0 / 1.09 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003487/1.163, allocations: 0.6867 MB / 1.091 GB, free: 78.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001452/1.165, allocations: 455.4 kB / 1.091 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006304/1.171, allocations: 1.493 MB / 1.092 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.171, allocations: 1.094 kB / 1.092 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.173, allocations: 498.9 kB / 1.093 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005342/1.179, allocations: 0.62 MB / 1.094 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/1.186, allocations: 2.764 MB / 1.096 GB, free: 76.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.187, allocations: 1.203 MB / 1.097 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002541/1.19, allocations: 291 kB / 1.098 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/1.191, allocations: 113.3 kB / 1.098 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/1.191, allocations: 0 / 1.098 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.07343/1.264, allocations: 26.14 MB / 1.123 GB, free: 62.14 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)