Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 253.2 MB / 260.6 MB, free: 7.395 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 173.8 kB / 319.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 97.38 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.112e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.976/2.177, allocations: 435.5 MB / 1.314 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004156/2.177, allocations: 92.97 kB / 1.314 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.626/5.804, allocations: 0.671 GB / 1.985 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.864e-06/5.804, allocations: 9.5 kB / 1.985 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002869/5.804, allocations: 35.75 kB / 1.985 GB, free: 165.5 MB / 0.8698 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.005095/5.809, allocations: 1.71 MB / 1.987 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/5.809, allocations: 12.91 kB / 1.987 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/5.812, allocations: 342.9 kB / 1.987 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02711/5.839, allocations: 8.35 MB / 1.995 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.941e-05/5.839, allocations: 25.84 kB / 1.995 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/5.84, allocations: 58.84 kB / 1.995 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002014/5.842, allocations: 0.6202 MB / 1.996 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/5.844, allocations: 0.8462 MB / 1.997 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/5.844, allocations: 6.656 kB / 1.997 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/5.844, allocations: 0.5625 kB / 1.997 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/5.844, allocations: 22.06 kB / 1.997 GB, free: 163.8 MB / 0.8698 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.008537/5.853, allocations: 4.563 MB / 2.001 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/5.854, allocations: 458.4 kB / 2.002 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/5.854, allocations: 240.8 kB / 2.002 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003112/5.857, allocations: 1.64 MB / 2.004 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006571/5.858, allocations: 356.7 kB / 2.004 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006164/5.859, allocations: 75.11 kB / 2.004 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/5.859, allocations: 0 / 2.004 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002609/5.861, allocations: 0.7125 MB / 2.005 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/5.861, allocations: 119.2 kB / 2.005 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/5.863, allocations: 0.957 MB / 2.006 GB, free: 160 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/5.863, allocations: 32.89 kB / 2.006 GB, free: 160 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/5.864, allocations: 0.6643 MB / 2.006 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/5.864, allocations: 149.8 kB / 2.007 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/5.864, allocations: 3.562 kB / 2.007 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/5.864, allocations: 330.3 kB / 2.007 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/5.865, allocations: 207.8 kB / 2.007 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/5.866, allocations: 483.8 kB / 2.007 GB, free: 159 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/5.867, allocations: 344.7 kB / 2.008 GB, free: 159 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/5.867, allocations: 0 / 2.008 GB, free: 159 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002941/5.87, allocations: 0.8958 MB / 2.009 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005881/5.871, allocations: 2.781 MB / 2.011 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/5.871, allocations: 3.938 kB / 2.011 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/5.871, allocations: 73.88 kB / 2.011 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/5.872, allocations: 158.1 kB / 2.012 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008016/5.873, allocations: 1.133 MB / 2.013 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/5.875, allocations: 71.02 kB / 2.013 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/5.875, allocations: 47.33 kB / 2.013 GB, free: 155 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/5.875, allocations: 3.75 kB / 2.013 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002533/5.877, allocations: 0.716 MB / 2.014 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/5.877, allocations: 7.125 kB / 2.014 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/5.878, allocations: 77.89 kB / 2.014 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/5.879, allocations: 145.6 kB / 2.014 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/5.88, allocations: 1.144 MB / 2.015 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/5.881, allocations: 68.8 kB / 2.015 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/5.881, allocations: 44.73 kB / 2.015 GB, free: 153.9 MB / 0.8698 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.0003224/5.882, allocations: 164.6 kB / 2.015 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/5.882, allocations: 125.9 kB / 2.015 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/5.885, allocations: 0.8638 MB / 2.016 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/5.885, allocations: 3.719 kB / 2.016 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/5.885, allocations: 6.125 kB / 2.016 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/5.885, allocations: 6.844 kB / 2.016 GB, free: 153.6 MB / 0.8698 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.004699/5.889, allocations: 1.846 MB / 2.018 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/5.89, allocations: 0 / 2.018 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/5.89, allocations: 103.4 kB / 2.018 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/5.891, allocations: 65.34 kB / 2.018 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/5.891, allocations: 16.33 kB / 2.018 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007755/5.892, allocations: 1.126 MB / 2.019 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/5.892, allocations: 7.688 kB / 2.019 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/5.894, allocations: 1.04 MB / 2.02 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009192/5.895, allocations: 288.5 kB / 2.021 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/5.896, allocations: 5.938 kB / 2.021 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/5.898, allocations: 71.84 kB / 2.021 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/5.898, allocations: 44.27 kB / 2.021 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/5.898, allocations: 33.95 kB / 2.021 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001864/5.9, allocations: 0.7362 MB / 2.021 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.31e-07/5.9, allocations: 2.75 kB / 2.021 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004607/5.904, allocations: 0.731 MB / 2.022 GB, free: 151.3 MB / 0.8698 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.003157/5.908, allocations: 0.9685 MB / 2.023 GB, free: 151 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003519/5.911, allocations: 1.079 MB / 2.024 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.974e-06/5.911, allocations: 0 / 2.024 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/5.912, allocations: 366.5 kB / 2.024 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/5.918, allocations: 0.54 MB / 2.025 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/5.923, allocations: 1.609 MB / 2.027 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/5.924, allocations: 1.238 MB / 2.028 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004043/5.929, allocations: 408 kB / 2.028 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/5.929, allocations: 77.83 kB / 2.028 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/5.929, allocations: 0 / 2.028 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.07967/6.009, allocations: 27.92 MB / 2.055 GB, free: 148.3 MB / 0.8698 GB