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.652/1.652, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001123/0.001123, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.719/1.719, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000847/0.0008471, allocations: 97.66 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.087e-05, allocations: 0 / 0.8517 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7276, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.886, allocations: 442.4 MB / 1.396 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.886, allocations: 92.06 kB / 1.396 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.964/4.85, allocations: 0.6899 GB / 2.086 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.914e-06/4.85, allocations: 0 / 2.086 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003241/4.85, allocations: 46.27 kB / 2.086 GB, free: 181.4 MB / 0.9323 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.005439/4.856, allocations: 1.722 MB / 2.088 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/4.856, allocations: 10.28 kB / 2.088 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/4.858, allocations: 342.4 kB / 2.088 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/4.878, allocations: 8.52 MB / 2.097 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/4.878, allocations: 29.59 kB / 2.097 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/4.879, allocations: 57.92 kB / 2.097 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/4.881, allocations: 0.6147 MB / 2.097 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/4.883, allocations: 0.8519 MB / 2.098 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/4.883, allocations: 3 kB / 2.098 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/4.883, allocations: 3.844 kB / 2.098 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/4.883, allocations: 21.5 kB / 2.098 GB, free: 179.6 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.007556/4.89, allocations: 4.559 MB / 2.103 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/4.891, allocations: 448.1 kB / 2.103 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/4.891, allocations: 245 kB / 2.103 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002599/4.894, allocations: 1.64 MB / 2.105 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/4.895, allocations: 369.6 kB / 2.105 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006895/4.895, allocations: 63.31 kB / 2.105 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 5.14e-06/4.895, allocations: 0 / 2.105 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002126/4.897, allocations: 0.7188 MB / 2.106 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/4.898, allocations: 108.4 kB / 2.106 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/4.899, allocations: 0.9656 MB / 2.107 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/4.9, allocations: 29.67 kB / 2.107 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/4.9, allocations: 0.6628 MB / 2.108 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/4.9, allocations: 156.2 kB / 2.108 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/4.9, allocations: 0 / 2.108 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/4.901, allocations: 337.8 kB / 2.108 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/4.901, allocations: 203.6 kB / 2.108 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/4.901, allocations: 496.9 kB / 2.109 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/4.903, allocations: 338.5 kB / 2.109 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/4.903, allocations: 2.25 kB / 2.109 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002279/4.905, allocations: 0.8892 MB / 2.11 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/4.906, allocations: 2.779 MB / 2.113 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/4.906, allocations: 7.812 kB / 2.113 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/4.906, allocations: 78.5 kB / 2.113 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/4.907, allocations: 155.5 kB / 2.113 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007542/4.908, allocations: 1.136 MB / 2.114 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/4.909, allocations: 68.2 kB / 2.114 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/4.909, allocations: 50.56 kB / 2.114 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/4.909, allocations: 4.438 kB / 2.114 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/4.911, allocations: 0.7162 MB / 2.115 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/4.911, allocations: 7.469 kB / 2.115 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/4.911, allocations: 79.72 kB / 2.115 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/4.912, allocations: 149.8 kB / 2.115 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/4.912, allocations: 1.139 MB / 2.116 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/4.913, allocations: 67.39 kB / 2.116 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/4.914, allocations: 40.36 kB / 2.116 GB, free: 168.6 MB / 0.9323 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete 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.0003104/4.914, allocations: 171.5 kB / 2.117 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/4.914, allocations: 127.8 kB / 2.117 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/4.916, allocations: 0.8511 MB / 2.118 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/4.916, allocations: 6.375 kB / 2.118 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/4.916, allocations: 5.375 kB / 2.118 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/4.916, allocations: 7.516 kB / 2.118 GB, free: 168.1 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.003736/4.92, allocations: 1.847 MB / 2.119 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/4.92, allocations: 6.781 kB / 2.119 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/4.921, allocations: 103.9 kB / 2.12 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/4.921, allocations: 68.03 kB / 2.12 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/4.921, allocations: 19.16 kB / 2.12 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005772/4.921, allocations: 1.129 MB / 2.121 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/4.921, allocations: 1.406 kB / 2.121 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/4.923, allocations: 1.024 MB / 2.122 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/4.924, allocations: 298 kB / 2.122 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/4.924, allocations: 3.844 kB / 2.122 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009521/4.925, allocations: 77.39 kB / 2.122 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/4.925, allocations: 38.22 kB / 2.122 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/4.925, allocations: 29.66 kB / 2.122 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001202/4.926, allocations: 0.7368 MB / 2.123 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.41e-07/4.926, allocations: 0 / 2.123 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003013/4.929, allocations: 0.7506 MB / 2.124 GB, free: 164.7 MB / 0.9323 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,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) * 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.0019/4.931, allocations: 0.983 MB / 2.125 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001904/4.933, allocations: 1.068 MB / 2.126 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/4.933, allocations: 3.406 kB / 2.126 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/4.934, allocations: 365.8 kB / 2.126 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/4.936, allocations: 0.5419 MB / 2.126 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/4.94, allocations: 1.619 MB / 2.128 GB, free: 163 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/4.94, allocations: 1.242 MB / 2.129 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001858/4.942, allocations: 405 kB / 2.13 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/4.942, allocations: 77.55 kB / 2.13 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.513e-06/4.942, allocations: 0 / 2.13 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.04796/4.99, allocations: 28.03 MB / 2.157 GB, free: 156.7 MB / 0.9323 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)