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 1.758/1.758, allocations: 287.5 MB / 302.6 MB, free: 8.227 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.001159/0.001159, allocations: 184.7 kB / 371.2 MB, free: 10.84 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.936/1.936, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0007931/0.0007929, allocations: 98.86 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 10.5 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2074, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04327/0.2507, allocations: 52.76 MB / 1.03 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.274, allocations: 16.38 MB / 1.046 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.2765, allocations: 59.62 kB / 1.046 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.279, allocations: 0.6834 MB / 1.047 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.2843, allocations: 1.701 MB / 1.049 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.2889, allocations: 1.386 MB / 1.05 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006804/0.2958, allocations: 4.354 MB / 1.054 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.2976, allocations: 1.14 MB / 1.055 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.3001, allocations: 1.248 MB / 1.057 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.3014, allocations: 0.9799 MB / 1.057 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3015, allocations: 56 kB / 1.058 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.3041, allocations: 1.053 MB / 1.059 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.3045, allocations: 326.6 kB / 1.059 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.3049, allocations: 360.9 kB / 1.059 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.3072, allocations: 2.315 MB / 1.061 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3072, allocations: 4 kB / 1.061 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3072, allocations: 0 / 1.061 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.3073, allocations: 0 / 1.061 GB, free: 7.188 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.003141/0.3104, allocations: 1.811 MB / 1.063 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3105, allocations: 12.03 kB / 1.063 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3119, allocations: 402.5 kB / 1.064 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.3146, allocations: 1.57 MB / 1.065 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006245/0.3152, allocations: 201.8 kB / 1.065 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3154, allocations: 87.98 kB / 1.065 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.3176, allocations: 1.126 MB / 1.067 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3176, allocations: 0 / 1.067 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.3177, allocations: 32 kB / 1.067 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.3177, allocations: 20 kB / 1.067 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.3201, allocations: 0.9524 MB / 1.068 GB, free: 0.8281 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.4181/0.7382, allocations: 4.997 MB / 1.072 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.7403, allocations: 0.7207 MB / 1.073 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.7414, allocations: 384.5 kB / 1.073 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003065/0.7445, allocations: 1.828 MB / 1.075 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.746, allocations: 485.6 kB / 1.076 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004539/0.7465, allocations: 76.09 kB / 1.076 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.986e-06/0.7465, allocations: 0 / 1.076 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.003619/0.7501, allocations: 1.195 MB / 1.077 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.7502, allocations: 90.69 kB / 1.077 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.7526, allocations: 1.286 MB / 1.078 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.7527, allocations: 38.61 kB / 1.078 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/0.7533, allocations: 0.6536 MB / 1.079 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.7535, allocations: 148.7 kB / 1.079 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.7535, allocations: 11.09 kB / 1.079 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.7536, allocations: 333.4 kB / 1.079 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.7547, allocations: 364 kB / 1.08 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.756, allocations: 0.6258 MB / 1.08 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.7581, allocations: 0.9679 MB / 1.081 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.7581, allocations: 2.312 kB / 1.081 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002785/0.7609, allocations: 1.15 MB / 1.082 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.7611, allocations: 326.7 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.7611, allocations: 7.609 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/0.7612, allocations: 10.16 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.762, allocations: 200.2 kB / 1.083 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.7621, allocations: 11.14 kB / 1.083 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.7632, allocations: 128 kB / 1.083 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/0.7633, allocations: 38.36 kB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.7633, allocations: 7.719 kB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002181/0.7655, allocations: 0.9667 MB / 1.084 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.7655, allocations: 11.36 kB / 1.084 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7655, allocations: 18.67 kB / 1.084 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.7662, allocations: 192.3 kB / 1.084 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.7663, allocations: 12.27 kB / 1.084 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/0.7671, allocations: 108.9 kB / 1.084 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.7672, allocations: 41.36 kB / 1.084 GB, free: 81.7 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.0007829/0.768, allocations: 497.4 kB / 1.085 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.7682, allocations: 138.8 kB / 1.085 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.7709, allocations: 1.074 MB / 1.086 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.7709, allocations: 10.02 kB / 1.086 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.7709, allocations: 0 / 1.086 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.7709, allocations: 4.719 kB / 1.086 GB, free: 80.88 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.004127/0.775, allocations: 2.22 MB / 1.088 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7751, allocations: 1.719 kB / 1.088 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.7757, allocations: 142.2 kB / 1.088 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7757, allocations: 2.219 kB / 1.088 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.7757, allocations: 17.03 kB / 1.088 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.7757, allocations: 8.641 kB / 1.088 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7758, allocations: 1.625 kB / 1.088 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.778, allocations: 1.107 MB / 1.09 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.7784, allocations: 317.5 kB / 1.09 GB, free: 79.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.7786, allocations: 14.45 kB / 1.09 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/0.7795, allocations: 121.8 kB / 1.09 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.7796, allocations: 35.72 kB / 1.09 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.7797, allocations: 27.91 kB / 1.09 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001366/0.7811, allocations: 0.8845 MB / 1.091 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7811, allocations: 0 / 1.091 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002135/0.7832, allocations: 0.6918 MB / 1.092 GB, free: 78.54 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.0009163/0.7841, allocations: 443.8 kB / 1.092 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003439/0.7876, allocations: 1.498 MB / 1.093 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7876, allocations: 3.938 kB / 1.093 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.7887, allocations: 0.4887 MB / 1.094 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.7915, allocations: 0.6106 MB / 1.095 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.7957, allocations: 2.755 MB / 1.097 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.7965, allocations: 1.203 MB / 1.098 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001247/0.7977, allocations: 304 kB / 1.099 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.798, allocations: 101.1 kB / 1.099 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of SimCode: time 6.82e-07/0.798, allocations: 0 / 1.099 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of Templates: time 0.04331/0.8413, allocations: 26.17 MB / 1.124 GB, free: 61.27 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)