Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.652/2.652, allocations: 287.9 MB / 302.9 MB, free: 8.199 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.001455/0.001455, allocations: 191.7 kB / 371.4 MB, free: 10.64 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 1.973/1.973, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 101.1 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007741/0.0007745, allocations: 18.89 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1872, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.068/1.256, allocations: 381.5 MB / 1.351 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.1536/1.409, allocations: 78.64 MB / 1.428 GB, free: 4.445 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01814/1.428, allocations: 389.2 kB / 1.429 GB, free: 4.062 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.7059/2.133, allocations: 5.62 MB / 1.434 GB, free: 54.99 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.05841/2.192, allocations: 15.8 MB / 1.449 GB, free: 54.86 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.04182/2.234, allocations: 11.15 MB / 1.46 GB, free: 54.47 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.04194/2.276, allocations: 19.95 MB / 1.48 GB, free: 54.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/2.298, allocations: 8.977 MB / 1.489 GB, free: 53.31 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02513/2.323, allocations: 9.433 MB / 1.498 GB, free: 53.29 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01393/2.337, allocations: 6.06 MB / 1.504 GB, free: 53.25 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004342/2.342, allocations: 453.3 kB / 1.504 GB, free: 53.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01936/2.361, allocations: 3.952 MB / 1.508 GB, free: 53.25 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00524/2.366, allocations: 2.295 MB / 1.51 GB, free: 53.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00699/2.373, allocations: 2.725 MB / 1.513 GB, free: 53.22 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02577/2.399, allocations: 16.47 MB / 1.529 GB, free: 49.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.542e-06/2.399, allocations: 0 / 1.529 GB, free: 49.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.472e-06/2.399, allocations: 1.75 kB / 1.529 GB, free: 49.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005002/2.4, allocations: 0 / 1.529 GB, free: 49.01 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.02868/2.428, allocations: 11.74 MB / 1.54 GB, free: 42.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/2.428, allocations: 11.22 kB / 1.54 GB, free: 42.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/2.443, allocations: 2.7 MB / 1.543 GB, free: 40.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/2.471, allocations: 10.84 MB / 1.554 GB, free: 37.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003208/2.474, allocations: 1.079 MB / 1.555 GB, free: 36.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/2.477, allocations: 0.7362 MB / 1.555 GB, free: 36.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02837/2.505, allocations: 9.146 MB / 1.564 GB, free: 34.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/2.505, allocations: 19.62 kB / 1.564 GB, free: 34.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00185/2.507, allocations: 307.4 kB / 1.565 GB, free: 34.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/2.508, allocations: 202.4 kB / 1.565 GB, free: 34.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/2.532, allocations: 7.386 MB / 1.572 GB, free: 32.81 MB / 0.948 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.08014/2.613, allocations: 48.91 MB / 1.62 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/2.629, allocations: 4.816 MB / 1.625 GB, free: 4.148 MB / 0.9636 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 evalFunc (simulation): time 0.02973/2.659, allocations: 10.91 MB / 1.635 GB, free: 12 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009277/2.668, allocations: 2.638 MB / 1.638 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006206/2.674, allocations: 0.5893 MB / 1.638 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=329): time 2.048e-05/2.674, allocations: 0 / 1.638 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of matching and sorting (n=329): time 0.02832/2.703, allocations: 7.367 MB / 1.646 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/2.703, allocations: 92.8 kB / 1.646 GB, free: 3.734 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02581/2.729, allocations: 10.03 MB / 1.655 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/2.73, allocations: 118.2 kB / 1.656 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009146/2.739, allocations: 5.556 MB / 1.661 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003166/2.742, allocations: 1.139 MB / 1.662 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008159/2.743, allocations: 96.5 kB / 1.662 GB, free: 8.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0007255/2.744, allocations: 494.4 kB / 1.663 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01368/2.757, allocations: 2.213 MB / 1.665 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01901/2.777, allocations: 4.249 MB / 1.669 GB, free: 2.574 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/2.788, allocations: 2.739 MB / 1.672 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.925e-05/2.788, allocations: 20 kB / 1.672 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of matching and sorting (n=620) (initialization): time 0.02562/2.814, allocations: 7.216 MB / 1.679 GB, free: 11.56 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01585/2.83, allocations: 30.12 MB / 1.708 GB, free: 11.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001958/2.83, allocations: 61.52 kB / 1.708 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009533/2.831, allocations: 259.8 kB / 1.708 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007531/2.839, allocations: 1.322 MB / 1.71 GB, free: 9.867 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/2.844, allocations: 3.928 MB / 1.714 GB, free: 6.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/2.857, allocations: 0.9656 MB / 1.714 GB, free: 5.367 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/2.858, allocations: 269.2 kB / 1.715 GB, free: 5.141 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/2.858, allocations: 4 kB / 1.715 GB, free: 5.137 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01953/2.878, allocations: 6.052 MB / 1.721 GB, free: 1.129 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/2.878, allocations: 48 kB / 1.721 GB, free: 1.082 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007924/2.879, allocations: 266.7 kB / 1.721 GB, free: 0.8516 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006806/2.886, allocations: 1.258 MB / 1.722 GB, free: 15.71 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/2.891, allocations: 3.927 MB / 1.726 GB, free: 12.09 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/2.903, allocations: 0.9134 MB / 1.727 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/2.905, allocations: 249.9 kB / 1.727 GB, free: 11.05 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 598 * Array equations: 4 * Algorithm blocks: 0 * 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: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008411/2.913, allocations: 2.566 MB / 1.73 GB, free: 9.664 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003527/2.917, allocations: 0.976 MB / 1.731 GB, free: 8.676 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/2.939, allocations: 6.072 MB / 1.737 GB, free: 4.301 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.139e-05/2.939, allocations: 43.64 kB / 1.737 GB, free: 4.262 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/2.939, allocations: 0 / 1.737 GB, free: 4.262 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01594/2.955, allocations: 4.478 MB / 1.741 GB, free: 1.047 MB / 1.057 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.04456/2.999, allocations: 14.47 MB / 1.755 GB, free: 7.348 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/2.999, allocations: 0 / 1.755 GB, free: 7.348 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005741/3.005, allocations: 0.8877 MB / 1.756 GB, free: 6.516 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007384/3.006, allocations: 189.9 kB / 1.756 GB, free: 6.355 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007516/3.007, allocations: 109.1 kB / 1.756 GB, free: 6.297 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/3.012, allocations: 3.834 MB / 1.76 GB, free: 2.758 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.439e-06/3.012, allocations: 0 / 1.76 GB, free: 2.758 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02775/3.04, allocations: 8.599 MB / 1.768 GB, free: 12.47 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007389/3.047, allocations: 1.954 MB / 1.77 GB, free: 11.05 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002937/3.05, allocations: 62.56 kB / 1.77 GB, free: 11.04 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01154/3.062, allocations: 0.9012 MB / 1.771 GB, free: 10.19 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008684/3.062, allocations: 228 kB / 1.771 GB, free: 9.988 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007969/3.063, allocations: 201.5 kB / 1.772 GB, free: 9.82 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01833/3.082, allocations: 6.795 MB / 1.778 GB, free: 5.23 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.392e-06/3.082, allocations: 4 kB / 1.778 GB, free: 5.227 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02552/3.107, allocations: 5.529 MB / 1.784 GB, free: 24 kB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * 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: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00624/3.113, allocations: 2.218 MB / 1.786 GB, free: 14.23 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0277/3.141, allocations: 9.092 MB / 1.795 GB, free: 7.699 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/3.141, allocations: 4.562 kB / 1.795 GB, free: 7.695 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.008635/3.15, allocations: 2.714 MB / 1.797 GB, free: 5.711 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02762/3.178, allocations: 4.996 MB / 1.802 GB, free: 1.598 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05452/3.232, allocations: 22.44 MB / 1.824 GB, free: 11.72 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/3.244, allocations: 5.638 MB / 1.83 GB, free: 6.039 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01739/3.261, allocations: 2.601 MB / 1.832 GB, free: 3.449 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003983/3.265, allocations: 0.799 MB / 1.833 GB, free: 2.652 MB / 1.135 GB Notification: Performance of SimCode: time 1.767e-06/3.266, allocations: 0 / 1.833 GB, free: 2.652 MB / 1.135 GB Notification: Performance of Templates: time 0.9963/4.262, allocations: 180.8 MB / 2.01 GB, free: 404.8 MB / 1.151 GB