Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.671/2.671, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.002195/0.002195, allocations: 186.2 kB / 371 MB, free: 10.86 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.347/2.347, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001371/0.001371, allocations: 90.47 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.000498, allocations: 15.06 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.07913/0.2979, allocations: 52.76 MB / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03627/0.3342, allocations: 16.37 MB / 1.046 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.337, allocations: 51.62 kB / 1.046 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004614/0.3417, allocations: 0.6912 MB / 1.047 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.3494, allocations: 1.705 MB / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006651/0.3561, allocations: 1.388 MB / 1.05 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009081/0.3652, allocations: 4.308 MB / 1.054 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.3682, allocations: 1.014 MB / 1.055 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/0.3726, allocations: 1.248 MB / 1.056 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.3754, allocations: 0.9683 MB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005016/0.3759, allocations: 59.94 kB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.3802, allocations: 1.057 MB / 1.058 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009083/0.3812, allocations: 326.6 kB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000847/0.3821, allocations: 356.8 kB / 1.059 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005132/0.3872, allocations: 2.315 MB / 1.061 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3873, allocations: 0 / 1.061 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.906e-06/0.3873, allocations: 0 / 1.061 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.907e-05/0.3874, allocations: 0 / 1.061 GB, free: 7.555 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.005729/0.3931, allocations: 1.834 MB / 1.063 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3932, allocations: 12.03 kB / 1.063 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.3965, allocations: 401.6 kB / 1.063 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/0.4017, allocations: 1.509 MB / 1.065 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/0.403, allocations: 201.9 kB / 1.065 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.4034, allocations: 91.98 kB / 1.065 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/0.4077, allocations: 1.118 MB / 1.066 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.4078, allocations: 3.938 kB / 1.066 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.4079, allocations: 32 kB / 1.066 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.408, allocations: 20 kB / 1.066 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.4128, allocations: 0.9564 MB / 1.067 GB, free: 1.23 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.6172/1.03, allocations: 4.99 MB / 1.072 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/1.034, allocations: 0.7223 MB / 1.073 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/1.036, allocations: 384.2 kB / 1.073 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0042/1.04, allocations: 1.83 MB / 1.075 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002299/1.043, allocations: 484.4 kB / 1.075 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008093/1.043, allocations: 75.69 kB / 1.075 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 4.338e-06/1.043, allocations: 0 / 1.075 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.006434/1.05, allocations: 1.188 MB / 1.076 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/1.05, allocations: 93.55 kB / 1.077 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/1.053, allocations: 1.291 MB / 1.078 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/1.054, allocations: 39.11 kB / 1.078 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009273/1.055, allocations: 0.6518 MB / 1.078 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/1.055, allocations: 149.6 kB / 1.079 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/1.055, allocations: 14.12 kB / 1.079 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.055, allocations: 337 kB / 1.079 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.057, allocations: 363.5 kB / 1.079 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/1.059, allocations: 0.6184 MB / 1.08 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.062, allocations: 442.5 kB / 1.08 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/1.062, allocations: 2.781 kB / 1.08 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005319/1.067, allocations: 1.147 MB / 1.081 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.067, allocations: 319 kB / 1.082 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.067, allocations: 6.5 kB / 1.082 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/1.067, allocations: 11.03 kB / 1.082 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.069, allocations: 200.2 kB / 1.082 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/1.069, allocations: 16.06 kB / 1.082 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/1.071, allocations: 139.2 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/1.072, allocations: 37.59 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.072, allocations: 5.375 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004139/1.076, allocations: 0.9656 MB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/1.076, allocations: 7.344 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/1.076, allocations: 10.81 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.077, allocations: 188.2 kB / 1.083 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-05/1.077, allocations: 24.38 kB / 1.083 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.079, allocations: 107.8 kB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/1.08, allocations: 36.16 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,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 (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.001161/1.081, allocations: 497.4 kB / 1.084 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/1.081, allocations: 138.8 kB / 1.084 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/1.086, allocations: 1.077 MB / 1.085 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/1.086, allocations: 9.562 kB / 1.085 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/1.086, allocations: 4.969 kB / 1.085 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/1.086, allocations: 2.297 kB / 1.085 GB, free: 81.26 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.007539/1.094, allocations: 2.226 MB / 1.087 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.094, allocations: 1.469 kB / 1.087 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.095, allocations: 142.2 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.095, allocations: 2.75 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.741e-05/1.095, allocations: 16.66 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/1.095, allocations: 2.75 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/1.095, allocations: 6.016 kB / 1.087 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/1.1, allocations: 1.108 MB / 1.089 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009559/1.101, allocations: 321.5 kB / 1.089 GB, free: 79.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/1.101, allocations: 10.62 kB / 1.089 GB, free: 79.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.103, allocations: 117.9 kB / 1.089 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.103, allocations: 39.75 kB / 1.089 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.103, allocations: 28.03 kB / 1.089 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002194/1.106, allocations: 0.8899 MB / 1.09 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/1.106, allocations: 0 / 1.09 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00344/1.109, allocations: 0.6851 MB / 1.091 GB, free: 78.92 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,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 (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.00146/1.111, allocations: 439.4 kB / 1.091 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006331/1.117, allocations: 1.491 MB / 1.092 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.117, allocations: 1 kB / 1.092 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/1.119, allocations: 0.4943 MB / 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.005799/1.125, allocations: 0.6229 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.007495/1.132, allocations: 2.762 MB / 1.096 GB, free: 76.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.134, allocations: 1.201 MB / 1.097 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002468/1.136, allocations: 296.5 kB / 1.098 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/1.137, allocations: 104.9 kB / 1.098 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.137, allocations: 0 / 1.098 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of Templates: time 0.0792/1.216, allocations: 26.13 MB / 1.123 GB, free: 62.26 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)