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 4.816/4.816, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002436/0.002436, allocations: 362.5 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.138/4.138, allocations: 410.7 MB / 1.112 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 183.8 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005054, allocations: 12 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5891, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.041/1.63, allocations: 421.5 MB / 1.872 GB, free: 71.31 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1295/1.759, allocations: 84.11 MB / 1.954 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01961/1.779, allocations: 417.2 kB / 1.955 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.02033/1.799, allocations: 5.152 MB / 1.96 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.06521/1.865, allocations: 16.68 MB / 1.976 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.04423/1.909, allocations: 11.19 MB / 1.987 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.06249/1.971, allocations: 39.25 MB / 2.025 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02262/1.994, allocations: 8.927 MB / 2.034 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02728/2.021, allocations: 10.28 MB / 2.044 GB, free: 8.309 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01821/2.04, allocations: 8.691 MB / 2.053 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.003859/2.044, allocations: 456 kB / 2.053 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/2.061, allocations: 3.608 MB / 2.057 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.005794/2.067, allocations: 2.411 MB / 2.059 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.007261/2.074, allocations: 2.718 MB / 2.062 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.02915/2.104, allocations: 16.61 MB / 2.078 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.593e-06/2.104, allocations: 0 / 2.078 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.501e-06/2.104, allocations: 0 / 2.078 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004712/2.104, allocations: 0 / 2.078 GB, free: 5.711 MB / 0.9792 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.03121/2.135, allocations: 11.76 MB / 2.089 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/2.135, allocations: 11.62 kB / 2.089 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/2.15, allocations: 2.708 MB / 2.092 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0343/2.184, allocations: 11.44 MB / 2.103 GB, free: 11.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003546/2.188, allocations: 1.077 MB / 2.104 GB, free: 10.46 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/2.19, allocations: 0.7265 MB / 2.105 GB, free: 9.738 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0291/2.219, allocations: 9.256 MB / 2.114 GB, free: 112 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/2.22, allocations: 15.88 kB / 2.114 GB, free: 96 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/2.222, allocations: 308.1 kB / 2.114 GB, free: 15.79 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002616/2.222, allocations: 199.9 kB / 2.114 GB, free: 15.59 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/2.248, allocations: 7.444 MB / 2.122 GB, free: 8.133 MB / 1.026 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 1.188/3.436, allocations: 48.37 MB / 2.169 GB, free: 378.8 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/3.454, allocations: 4.869 MB / 2.174 GB, free: 376.4 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008118/3.462, allocations: 2.737 MB / 2.176 GB, free: 375.2 MB / 1.026 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.02644/3.488, allocations: 10.85 MB / 2.187 GB, free: 366.1 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009033/3.497, allocations: 2.68 MB / 2.19 GB, free: 364.6 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005746/3.503, allocations: 0.5436 MB / 2.19 GB, free: 364.4 MB / 1.026 GB Notification: Performance of pre-optimization done (n=327): time 1.53e-05/3.503, allocations: 1.406 kB / 2.19 GB, free: 364.4 MB / 1.026 GB Notification: Performance of matching and sorting (n=327): time 0.02832/3.532, allocations: 7.434 MB / 2.197 GB, free: 360.8 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/3.532, allocations: 87.83 kB / 2.197 GB, free: 360.7 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02157/3.553, allocations: 9.573 MB / 2.207 GB, free: 355.8 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0009995/3.554, allocations: 113.2 kB / 2.207 GB, free: 355.7 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.006108/3.56, allocations: 5.576 MB / 2.212 GB, free: 351.1 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001765/3.562, allocations: 1.134 MB / 2.214 GB, free: 350.1 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/3.563, allocations: 101.4 kB / 2.214 GB, free: 350.1 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003037/3.563, allocations: 499.8 kB / 2.214 GB, free: 349.6 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007725/3.571, allocations: 2.24 MB / 2.216 GB, free: 348.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0088/3.58, allocations: 4.298 MB / 2.22 GB, free: 344 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007999/3.588, allocations: 2.761 MB / 2.223 GB, free: 341.3 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.615e-05/3.588, allocations: 16 kB / 2.223 GB, free: 341.3 MB / 1.026 GB Notification: Performance of matching and sorting (n=618) (initialization): time 0.02147/3.609, allocations: 7.254 MB / 2.23 GB, free: 334.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007743/3.61, allocations: 1.628 MB / 2.232 GB, free: 331.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.395e-05/3.61, allocations: 52 kB / 2.232 GB, free: 331.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/3.611, allocations: 269.2 kB / 2.232 GB, free: 331.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007144/3.618, allocations: 1.305 MB / 2.233 GB, free: 330.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/3.622, allocations: 3.88 MB / 2.237 GB, free: 326.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/3.634, allocations: 0.9568 MB / 2.238 GB, free: 325.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/3.636, allocations: 263.9 kB / 2.238 GB, free: 325 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/3.636, allocations: 4 kB / 2.238 GB, free: 325 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01705/3.653, allocations: 6.092 MB / 2.244 GB, free: 318.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.892e-05/3.653, allocations: 55.98 kB / 2.244 GB, free: 318.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/3.654, allocations: 266 kB / 2.245 GB, free: 318.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006274/3.66, allocations: 1.252 MB / 2.246 GB, free: 317.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/3.664, allocations: 3.881 MB / 2.25 GB, free: 313.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/3.675, allocations: 0.9143 MB / 2.251 GB, free: 312.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/3.676, allocations: 251.9 kB / 2.251 GB, free: 312.1 MB / 1.026 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 (602): * Single equations (assignments): 596 * 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.006767/3.683, allocations: 2.559 MB / 2.253 GB, free: 309.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002598/3.686, allocations: 0.9722 MB / 2.254 GB, free: 308.5 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/3.705, allocations: 6.088 MB / 2.26 GB, free: 302.5 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.562e-05/3.705, allocations: 39.98 kB / 2.26 GB, free: 302.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/3.705, allocations: 4 kB / 2.26 GB, free: 302.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01466/3.72, allocations: 4.529 MB / 2.265 GB, free: 297.8 MB / 1.026 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.03963/3.76, allocations: 14.13 MB / 2.278 GB, free: 283.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/3.76, allocations: 0 / 2.278 GB, free: 283.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005456/3.765, allocations: 0.874 MB / 2.279 GB, free: 282.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000673/3.766, allocations: 193.5 kB / 2.28 GB, free: 282.6 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007285/3.767, allocations: 103.9 kB / 2.28 GB, free: 282.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/3.77, allocations: 3.789 MB / 2.283 GB, free: 278.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.955e-06/3.77, allocations: 4.031 kB / 2.283 GB, free: 278.5 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02488/3.795, allocations: 8.548 MB / 2.292 GB, free: 269.8 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006458/3.802, allocations: 1.835 MB / 2.293 GB, free: 268 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002514/3.804, allocations: 64 kB / 2.294 GB, free: 267.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/3.815, allocations: 0.8948 MB / 2.294 GB, free: 267 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007264/3.816, allocations: 218.4 kB / 2.295 GB, free: 266.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00068/3.816, allocations: 195.8 kB / 2.295 GB, free: 266.6 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.015/3.831, allocations: 6.426 MB / 2.301 GB, free: 260.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.187e-06/3.831, allocations: 7.844 kB / 2.301 GB, free: 260.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02238/3.854, allocations: 5.393 MB / 2.306 GB, free: 254.9 MB / 1.026 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 (342): * Single equations (assignments): 319 * 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.004976/3.859, allocations: 1.986 MB / 2.308 GB, free: 253.4 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02514/3.884, allocations: 9.145 MB / 2.317 GB, free: 244.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/3.884, allocations: 8.562 kB / 2.317 GB, free: 244.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007871/3.892, allocations: 2.739 MB / 2.32 GB, free: 241.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02935/3.921, allocations: 5.047 MB / 2.325 GB, free: 236.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0456/3.967, allocations: 22.48 MB / 2.347 GB, free: 214.1 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/3.977, allocations: 5.648 MB / 2.352 GB, free: 208.4 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0183/3.996, allocations: 2.553 MB / 2.355 GB, free: 205.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003521/3.999, allocations: 0.7647 MB / 2.356 GB, free: 205.1 MB / 1.026 GB Notification: Performance of SimCode: time 2.236e-06/3.999, allocations: 0 / 2.356 GB, free: 205.1 MB / 1.026 GB Notification: Performance of Templates: time 0.3812/4.38, allocations: 174.5 MB / 2.526 GB, free: 32.75 MB / 1.026 GB