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.083/2.083, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 184.9 kB / 325.6 MB, free: 2.855 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.416/2.416, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001133/0.001133, allocations: 97.09 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004564, allocations: 10.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.389/1.601, allocations: 435.4 MB / 1.324 GB, free: 376 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.601, allocations: 101.7 kB / 1.324 GB, free: 316 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.531/5.132, allocations: 0.6766 GB / 2.001 GB, free: 93.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/5.132, allocations: 0 / 2.001 GB, free: 93.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002678/5.132, allocations: 43.92 kB / 2.001 GB, free: 93.21 MB / 0.8855 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.007397/5.14, allocations: 2.132 MB / 2.003 GB, free: 91.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/5.14, allocations: 12.03 kB / 2.003 GB, free: 91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/5.143, allocations: 342.4 kB / 2.003 GB, free: 90.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02699/5.17, allocations: 8.451 MB / 2.011 GB, free: 82.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/5.17, allocations: 70 kB / 2.011 GB, free: 82.03 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/5.17, allocations: 84 kB / 2.012 GB, free: 81.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/5.173, allocations: 1.039 MB / 2.013 GB, free: 80.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/5.173, allocations: 0 / 2.013 GB, free: 80.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/5.173, allocations: 36 kB / 2.013 GB, free: 80.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/5.174, allocations: 20 kB / 2.013 GB, free: 80.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/5.177, allocations: 0.7767 MB / 2.013 GB, free: 80.03 MB / 0.8855 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.009112/5.186, allocations: 4.739 MB / 2.018 GB, free: 75.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/5.188, allocations: 0.5311 MB / 2.019 GB, free: 74.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003243/5.192, allocations: 1.669 MB / 2.02 GB, free: 72.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/5.193, allocations: 442.8 kB / 2.021 GB, free: 72.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007762/5.194, allocations: 83.34 kB / 2.021 GB, free: 72.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.657e-06/5.194, allocations: 0 / 2.021 GB, free: 72.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.005047/5.199, allocations: 1.324 MB / 2.022 GB, free: 70.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/5.199, allocations: 106.8 kB / 2.022 GB, free: 70.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/5.201, allocations: 1.11 MB / 2.023 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/5.202, allocations: 41.69 kB / 2.023 GB, free: 69.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/5.202, allocations: 0.6493 MB / 2.024 GB, free: 68.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/5.202, allocations: 149.8 kB / 2.024 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/5.202, allocations: 16 kB / 2.024 GB, free: 68.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/5.203, allocations: 330 kB / 2.024 GB, free: 68.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/5.204, allocations: 277.1 kB / 2.025 GB, free: 67.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/5.205, allocations: 0.5403 MB / 2.025 GB, free: 67.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/5.206, allocations: 361.1 kB / 2.025 GB, free: 66.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/5.206, allocations: 0 / 2.025 GB, free: 66.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00378/5.21, allocations: 1.016 MB / 2.026 GB, free: 65.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005618/5.211, allocations: 2.79 MB / 2.029 GB, free: 62.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/5.211, allocations: 8 kB / 2.029 GB, free: 62.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/5.211, allocations: 85.67 kB / 2.029 GB, free: 62.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/5.213, allocations: 155.8 kB / 2.029 GB, free: 62.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007232/5.213, allocations: 1.124 MB / 2.03 GB, free: 61.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/5.215, allocations: 87.91 kB / 2.031 GB, free: 61.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/5.215, allocations: 47.97 kB / 2.031 GB, free: 61.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/5.215, allocations: 4 kB / 2.031 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002933/5.218, allocations: 0.8735 MB / 2.031 GB, free: 60.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/5.218, allocations: 8 kB / 2.031 GB, free: 60.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/5.219, allocations: 89.62 kB / 2.032 GB, free: 60.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/5.22, allocations: 152 kB / 2.032 GB, free: 60.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/5.22, allocations: 1.132 MB / 2.033 GB, free: 59.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/5.222, allocations: 76.06 kB / 2.033 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/5.222, allocations: 43.98 kB / 2.033 GB, free: 58.98 MB / 0.8855 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 () * Number of clocked 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.001066/5.223, allocations: 494 kB / 2.033 GB, free: 58.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/5.223, allocations: 142.3 kB / 2.034 GB, free: 58.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/5.227, allocations: 1.014 MB / 2.035 GB, free: 57.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/5.227, allocations: 7.984 kB / 2.035 GB, free: 57.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/5.227, allocations: 4 kB / 2.035 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/5.227, allocations: 0 / 2.035 GB, free: 57.29 MB / 0.8855 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.005945/5.233, allocations: 2.097 MB / 2.037 GB, free: 55.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/5.233, allocations: 4.047 kB / 2.037 GB, free: 55.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/5.234, allocations: 112 kB / 2.037 GB, free: 55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/5.235, allocations: 73.64 kB / 2.037 GB, free: 54.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/5.235, allocations: 23.97 kB / 2.037 GB, free: 54.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/5.235, allocations: 1.113 MB / 2.038 GB, free: 53.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.235, allocations: 0 / 2.038 GB, free: 53.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/5.239, allocations: 1.172 MB / 2.039 GB, free: 52.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/5.239, allocations: 303.2 kB / 2.039 GB, free: 52.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/5.24, allocations: 15.94 kB / 2.039 GB, free: 52.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/5.241, allocations: 87.83 kB / 2.039 GB, free: 52.06 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/5.241, allocations: 43.83 kB / 2.039 GB, free: 52.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/5.242, allocations: 27.98 kB / 2.039 GB, free: 51.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001729/5.243, allocations: 0.8754 MB / 2.04 GB, free: 51.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/5.243, allocations: 0 / 2.04 GB, free: 51.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003407/5.247, allocations: 0.7603 MB / 2.041 GB, free: 50.36 MB / 0.8855 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) * Number of clocked states: 0 () * 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.00229/5.249, allocations: 0.995 MB / 2.042 GB, free: 49.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004287/5.253, allocations: 1.244 MB / 2.043 GB, free: 48.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/5.253, allocations: 0 / 2.043 GB, free: 48.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/5.255, allocations: 433.9 kB / 2.044 GB, free: 47.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/5.259, allocations: 0.6239 MB / 2.044 GB, free: 47.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/5.265, allocations: 2.652 MB / 2.047 GB, free: 44.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/5.266, allocations: 1.241 MB / 2.048 GB, free: 43.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002171/5.268, allocations: 294.9 kB / 2.048 GB, free: 42.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/5.269, allocations: 99.41 kB / 2.048 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/5.269, allocations: 0 / 2.048 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.08085/5.35, allocations: 31.05 MB / 2.079 GB, free: 11.89 MB / 0.8855 GB