Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.67/2.67, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002142/0.002142, allocations: 180.8 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.2 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 86.23 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.151e-05, allocations: 8 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8359/0.836, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/2.204, allocations: 442.2 MB / 1.395 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003939/2.205, allocations: 95.22 kB / 1.395 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.721/5.925, allocations: 0.6898 GB / 2.085 GB, free: 211.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.284e-06/5.926, allocations: 0 / 2.085 GB, free: 211.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000244/5.926, allocations: 42.53 kB / 2.085 GB, free: 211.4 MB / 0.9636 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.004991/5.931, allocations: 1.715 MB / 2.087 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/5.931, allocations: 10.06 kB / 2.087 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/5.934, allocations: 357 kB / 2.087 GB, free: 210.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02782/5.962, allocations: 8.522 MB / 2.096 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/5.962, allocations: 25.34 kB / 2.096 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/5.962, allocations: 59.08 kB / 2.096 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001749/5.964, allocations: 0.6229 MB / 2.096 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/5.966, allocations: 0.8478 MB / 2.097 GB, free: 209.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/5.966, allocations: 3.625 kB / 2.097 GB, free: 209.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/5.966, allocations: 3.719 kB / 2.097 GB, free: 209.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/5.966, allocations: 21.5 kB / 2.097 GB, free: 209.6 MB / 0.9636 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.008791/5.975, allocations: 4.563 MB / 2.102 GB, free: 207.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/5.976, allocations: 454.5 kB / 2.102 GB, free: 207.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/5.976, allocations: 239.9 kB / 2.102 GB, free: 207.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003544/5.98, allocations: 1.649 MB / 2.104 GB, free: 206.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/5.981, allocations: 362.7 kB / 2.104 GB, free: 206.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007877/5.981, allocations: 65.5 kB / 2.104 GB, free: 206.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 4.018e-06/5.981, allocations: 0 / 2.104 GB, free: 206.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47): time 0.002905/5.984, allocations: 0.7231 MB / 2.105 GB, free: 206.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/5.984, allocations: 109.8 kB / 2.105 GB, free: 205.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/5.987, allocations: 0.9657 MB / 2.106 GB, free: 205.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/5.987, allocations: 29.23 kB / 2.106 GB, free: 205.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007352/5.988, allocations: 0.654 MB / 2.107 GB, free: 205.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/5.988, allocations: 156.8 kB / 2.107 GB, free: 205.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/5.988, allocations: 0 / 2.107 GB, free: 205.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/5.988, allocations: 333.8 kB / 2.107 GB, free: 205.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/5.988, allocations: 204.7 kB / 2.107 GB, free: 205.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/5.989, allocations: 484.4 kB / 2.108 GB, free: 204.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/5.991, allocations: 341.9 kB / 2.108 GB, free: 204.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/5.991, allocations: 3.719 kB / 2.108 GB, free: 204.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003116/5.994, allocations: 0.8891 MB / 2.109 GB, free: 204.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007127/5.995, allocations: 2.781 MB / 2.112 GB, free: 201.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/5.995, allocations: 7.438 kB / 2.112 GB, free: 201.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/5.995, allocations: 72.52 kB / 2.112 GB, free: 201.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/5.996, allocations: 158.5 kB / 2.112 GB, free: 201.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008906/5.997, allocations: 1.145 MB / 2.113 GB, free: 200.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/5.999, allocations: 80.64 kB / 2.113 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/5.999, allocations: 39.62 kB / 2.113 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/5.999, allocations: 6.906 kB / 2.113 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002692/6.002, allocations: 0.7147 MB / 2.114 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/6.002, allocations: 7.906 kB / 2.114 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/6.002, allocations: 75.34 kB / 2.114 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/6.003, allocations: 151 kB / 2.114 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/6.004, allocations: 1.148 MB / 2.115 GB, free: 199.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/6.006, allocations: 64.59 kB / 2.115 GB, free: 199.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/6.006, allocations: 42.44 kB / 2.115 GB, free: 199.7 MB / 0.9636 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.0004324/6.007, allocations: 166.8 kB / 2.116 GB, free: 199.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/6.007, allocations: 126.5 kB / 2.116 GB, free: 199.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/6.011, allocations: 0.8582 MB / 2.116 GB, free: 199.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/6.011, allocations: 3.656 kB / 2.117 GB, free: 199.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/6.011, allocations: 7.281 kB / 2.117 GB, free: 199.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/6.011, allocations: 3.953 kB / 2.117 GB, free: 199.4 MB / 0.9636 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.005639/6.017, allocations: 1.851 MB / 2.118 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/6.017, allocations: 3.844 kB / 2.118 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/6.017, allocations: 99.16 kB / 2.118 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/6.018, allocations: 71.05 kB / 2.118 GB, free: 198.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/6.018, allocations: 10.89 kB / 2.118 GB, free: 198.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008845/6.019, allocations: 1.131 MB / 2.12 GB, free: 197.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/6.019, allocations: 0 / 2.12 GB, free: 197.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/6.022, allocations: 1.029 MB / 2.121 GB, free: 197.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008791/6.023, allocations: 294.1 kB / 2.121 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/6.023, allocations: 7.297 kB / 2.121 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/6.024, allocations: 68.02 kB / 2.121 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/6.025, allocations: 43.17 kB / 2.121 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/6.025, allocations: 35.52 kB / 2.121 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001568/6.026, allocations: 0.7354 MB / 2.122 GB, free: 197.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.22e-07/6.026, allocations: 0 / 2.122 GB, free: 197.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003626/6.03, allocations: 0.7491 MB / 2.122 GB, free: 197 MB / 0.9636 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.002416/6.032, allocations: 0.979 MB / 2.123 GB, free: 196.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002637/6.035, allocations: 1.075 MB / 2.124 GB, free: 196.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/6.035, allocations: 0 / 2.124 GB, free: 196.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/6.036, allocations: 363.6 kB / 2.125 GB, free: 196.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/6.04, allocations: 0.5459 MB / 2.125 GB, free: 196.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/6.044, allocations: 1.61 MB / 2.127 GB, free: 195.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/6.045, allocations: 1.236 MB / 2.128 GB, free: 194.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003047/6.048, allocations: 403.9 kB / 2.129 GB, free: 194.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/6.049, allocations: 78.22 kB / 2.129 GB, free: 194.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.302e-06/6.049, allocations: 2.438 kB / 2.129 GB, free: 194.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.06996/6.119, allocations: 28.03 MB / 2.156 GB, free: 193 MB / 0.9636 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)