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.336/2.336, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.00155/0.00155, allocations: 181 kB / 325.6 MB, free: 2.848 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.572/2.572, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.00114/0.001139, allocations: 102 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006594/0.0006595, allocations: 16.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2457, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05901/0.3047, allocations: 48.05 MB / 0.9458 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.3324, allocations: 15.36 MB / 0.9608 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.3359, allocations: 51.62 kB / 0.9609 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00628/0.3422, allocations: 0.8865 MB / 0.9617 GB, free: 1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.3534, allocations: 2.197 MB / 0.9639 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.3661, allocations: 2.732 MB / 0.9665 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006578/0.3727, allocations: 2.269 MB / 0.9688 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.3754, allocations: 1.03 MB / 0.9698 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.3793, allocations: 1.074 MB / 0.9708 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.3814, allocations: 0.6999 MB / 0.9715 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.3818, allocations: 55.94 kB / 0.9715 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.3859, allocations: 1.057 MB / 0.9726 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.3866, allocations: 306.8 kB / 0.9729 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008185/0.3875, allocations: 360.9 kB / 0.9732 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004947/0.3924, allocations: 2.272 MB / 0.9754 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3925, allocations: 4 kB / 0.9754 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3925, allocations: 4 kB / 0.9754 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.152e-05/0.3926, allocations: 0 / 0.9754 GB, free: 2.93 MB / 0.6198 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.005242/0.3978, allocations: 1.823 MB / 0.9772 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3979, allocations: 8.031 kB / 0.9772 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.401, allocations: 401.7 kB / 0.9776 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.4053, allocations: 1.446 MB / 0.979 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/0.4066, allocations: 205.8 kB / 0.9792 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/0.4069, allocations: 88 kB / 0.9793 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.411, allocations: 1.103 MB / 0.9804 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.4111, allocations: 0 / 0.9804 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.4113, allocations: 32 kB / 0.9804 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.4113, allocations: 20 kB / 0.9804 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.4159, allocations: 0.9446 MB / 0.9814 GB, free: 12.71 MB / 0.6355 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.01175/0.4277, allocations: 5.143 MB / 0.9864 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/0.4317, allocations: 0.7 MB / 0.9871 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004114/0.4358, allocations: 1.828 MB / 0.9888 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/0.438, allocations: 473.4 kB / 0.9893 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007185/0.4388, allocations: 75.41 kB / 0.9894 GB, free: 4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 3.266e-06/0.4388, allocations: 0 / 0.9894 GB, free: 4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.006279/0.4451, allocations: 1.254 MB / 0.9906 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.4452, allocations: 85.06 kB / 0.9907 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.4484, allocations: 1.324 MB / 0.992 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.4487, allocations: 37.7 kB / 0.992 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008878/0.4496, allocations: 0.6532 MB / 0.9926 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.4498, allocations: 149.8 kB / 0.9928 GB, free: 436 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.4499, allocations: 12 kB / 0.9928 GB, free: 424 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.4501, allocations: 338 kB / 0.9931 GB, free: 80 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.4521, allocations: 357.1 kB / 0.9935 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.4544, allocations: 0.6078 MB / 0.9941 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.4564, allocations: 430.2 kB / 0.9945 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4565, allocations: 7.938 kB / 0.9945 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005119/0.4616, allocations: 1.128 MB / 0.9956 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.463, allocations: 2.701 MB / 0.9982 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.463, allocations: 15.95 kB / 0.9982 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.122e-05/0.4631, allocations: 12 kB / 0.9982 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.4648, allocations: 195.7 kB / 0.9984 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-05/0.4648, allocations: 15.92 kB / 0.9984 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.4669, allocations: 131.2 kB / 0.9986 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.4671, allocations: 35.98 kB / 0.9986 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4671, allocations: 4 kB / 0.9986 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003889/0.471, allocations: 0.9544 MB / 0.9995 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4711, allocations: 4 kB / 0.9995 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.4711, allocations: 15.98 kB / 0.9996 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4724, allocations: 188.1 kB / 0.9997 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.4725, allocations: 12 kB / 0.9997 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.4743, allocations: 112.5 kB / 0.9999 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4745, allocations: 35.98 kB / 0.9999 GB, free: 8.852 MB / 0.6511 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 (75): * Single equations (assignments): 73 * 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.001221/0.4757, allocations: 498.5 kB / 1 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.4761, allocations: 134.3 kB / 1 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/0.4811, allocations: 1.07 MB / 1.002 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/0.4812, allocations: 8 kB / 1.002 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.4812, allocations: 8 kB / 1.002 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.4813, allocations: 3.984 kB / 1.002 GB, free: 7.121 MB / 0.6511 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.007846/0.4891, allocations: 2.259 MB / 1.004 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.4892, allocations: 4 kB / 1.004 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.4904, allocations: 136 kB / 1.004 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.4905, allocations: 4 kB / 1.004 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.4906, allocations: 23.94 kB / 1.004 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.4906, allocations: 3.938 kB / 1.004 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.4906, allocations: 4 kB / 1.004 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.4951, allocations: 1.15 MB / 1.005 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009314/0.4961, allocations: 323.2 kB / 1.005 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000296/0.4964, allocations: 8 kB / 1.005 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.4983, allocations: 119.9 kB / 1.005 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4984, allocations: 47.69 kB / 1.006 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.4986, allocations: 27.97 kB / 1.006 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002136/0.5007, allocations: 0.9106 MB / 1.006 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.92e-07/0.5007, allocations: 0 / 1.006 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002977/0.5037, allocations: 0.69 MB / 1.007 GB, free: 1.246 MB / 0.6511 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.001503/0.5053, allocations: 464.4 kB / 1.008 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006334/0.5116, allocations: 1.465 MB / 1.009 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.5117, allocations: 0 / 1.009 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.5138, allocations: 496.4 kB / 1.009 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005785/0.5196, allocations: 0.6184 MB / 1.01 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/0.5278, allocations: 2.783 MB / 1.013 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.5291, allocations: 1.225 MB / 1.014 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002349/0.5315, allocations: 299.4 kB / 1.014 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/0.5322, allocations: 115.3 kB / 1.014 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of SimCode: time 1.323e-06/0.5322, allocations: 0 / 1.014 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of Templates: time 0.07932/0.6115, allocations: 26.65 MB / 1.04 GB, free: 15.34 MB / 0.698 GB