Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.4 MB / 303.7 MB, free: 8.066 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.00108/0.00108, allocations: 189.3 kB / 372.3 MB, free: 10.14 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.406/1.406, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007884/0.0007883, allocations: 104.7 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 19.53 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2252, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04288/0.2681, allocations: 52.76 MB / 1.032 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.289, allocations: 16.38 MB / 1.048 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.2912, allocations: 59.62 kB / 1.048 GB, free: 6 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.2934, allocations: 0.7614 MB / 1.048 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.2982, allocations: 1.823 MB / 1.05 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.302, allocations: 1.396 MB / 1.052 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005112/0.3071, allocations: 4.358 MB / 1.056 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.3091, allocations: 1.14 MB / 1.057 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.3117, allocations: 1.311 MB / 1.058 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.3134, allocations: 0.9722 MB / 1.059 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.3137, allocations: 52 kB / 1.059 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.3165, allocations: 1.286 MB / 1.06 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004483/0.3169, allocations: 326.6 kB / 1.061 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.318, allocations: 0.748 MB / 1.062 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.3207, allocations: 2.365 MB / 1.064 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3207, allocations: 7.938 kB / 1.064 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3207, allocations: 0 / 1.064 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.3207, allocations: 3.938 kB / 1.064 GB, free: 5.387 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.003024/0.3238, allocations: 1.815 MB / 1.066 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3238, allocations: 8.031 kB / 1.066 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.3254, allocations: 402.5 kB / 1.066 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.328, allocations: 1.569 MB / 1.068 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/0.3287, allocations: 201.9 kB / 1.068 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.3288, allocations: 88 kB / 1.068 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.3309, allocations: 1.111 MB / 1.069 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.331, allocations: 7.938 kB / 1.069 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.331, allocations: 32 kB / 1.069 GB, free: 8 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3545/0.6856, allocations: 17.45 kB / 1.069 GB, free: 90.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.6885, allocations: 0.9483 MB / 1.07 GB, free: 90.9 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.006519/0.6951, allocations: 5.008 MB / 1.075 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.6972, allocations: 0.7241 MB / 1.075 GB, free: 87.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/0.6982, allocations: 382.8 kB / 1.076 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002454/0.7006, allocations: 1.835 MB / 1.078 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.7018, allocations: 480.6 kB / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003634/0.7022, allocations: 74.39 kB / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.7022, allocations: 0 / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.003159/0.7054, allocations: 1.191 MB / 1.079 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.7054, allocations: 91.56 kB / 1.079 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.7073, allocations: 1.288 MB / 1.081 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.7074, allocations: 42.23 kB / 1.081 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/0.7079, allocations: 0.6512 MB / 1.081 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.708, allocations: 146.1 kB / 1.082 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.708, allocations: 11.25 kB / 1.082 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.7081, allocations: 336.3 kB / 1.082 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.7092, allocations: 364.5 kB / 1.082 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.7103, allocations: 0.6194 MB / 1.083 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.7123, allocations: 0.9758 MB / 1.084 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.7124, allocations: 1.625 kB / 1.084 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002731/0.7151, allocations: 1.147 MB / 1.085 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.7152, allocations: 323 kB / 1.085 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.7153, allocations: 10.81 kB / 1.085 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.7153, allocations: 9.719 kB / 1.085 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.7161, allocations: 204.3 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.7162, allocations: 11.12 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7173, allocations: 125.1 kB / 1.086 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/0.7174, allocations: 37.75 kB / 1.086 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.7174, allocations: 4.25 kB / 1.086 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002085/0.7195, allocations: 0.971 MB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7195, allocations: 6.094 kB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7196, allocations: 10.56 kB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.7203, allocations: 191.7 kB / 1.087 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.7203, allocations: 12.47 kB / 1.087 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.7213, allocations: 110.5 kB / 1.087 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.7214, allocations: 46.88 kB / 1.087 GB, free: 81.48 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.0007303/0.7221, allocations: 0.489 MB / 1.087 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.7223, allocations: 136.7 kB / 1.087 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.7249, allocations: 1.076 MB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.725, allocations: 6.656 kB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.725, allocations: 1.375 kB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.725, allocations: 2.109 kB / 1.089 GB, free: 80.66 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.004116/0.7291, allocations: 2.224 MB / 1.091 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.7291, allocations: 1.281 kB / 1.091 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.7298, allocations: 138.1 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.7298, allocations: 3.375 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.7298, allocations: 16 kB / 1.091 GB, free: 79.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.7298, allocations: 2.766 kB / 1.091 GB, free: 79.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7299, allocations: 10.12 kB / 1.091 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.7322, allocations: 1.106 MB / 1.092 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.7327, allocations: 312.5 kB / 1.092 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.7329, allocations: 10.47 kB / 1.092 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/0.7338, allocations: 132.5 kB / 1.092 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7339, allocations: 36.8 kB / 1.092 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.734, allocations: 28.39 kB / 1.092 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001229/0.7352, allocations: 0.8847 MB / 1.093 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7352, allocations: 0 / 1.093 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001774/0.737, allocations: 0.6948 MB / 1.094 GB, free: 78.33 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.0008631/0.7379, allocations: 458.2 kB / 1.094 GB, free: 78.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003382/0.7413, allocations: 1.494 MB / 1.096 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7413, allocations: 2.344 kB / 1.096 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.7423, allocations: 498.9 kB / 1.096 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.7453, allocations: 0.6133 MB / 1.097 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.7494, allocations: 2.754 MB / 1.1 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.7501, allocations: 1.206 MB / 1.101 GB, free: 75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001396/0.7516, allocations: 298.3 kB / 1.101 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.7518, allocations: 105.6 kB / 1.101 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/0.7518, allocations: 0 / 1.101 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.04166/0.7935, allocations: 26.55 MB / 1.127 GB, free: 58.93 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)