Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.669/2.669, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001624/0.001624, allocations: 182.4 kB / 325.6 MB, free: 2.816 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.487/2.487, 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.001139/0.001138, allocations: 94.09 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006449, allocations: 15.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2402, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.271/1.512, allocations: 381.5 MB / 1.271 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1741/1.686, allocations: 78.59 MB / 1.348 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02049/1.706, allocations: 393.2 kB / 1.349 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0301/1.737, allocations: 5.625 MB / 1.354 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.07447/1.811, allocations: 15.8 MB / 1.37 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.05639/1.867, allocations: 10.85 MB / 1.38 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 1.796/3.664, allocations: 19.93 MB / 1.4 GB, free: 37.89 MB / 0.9012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03805/3.702, allocations: 8.936 MB / 1.408 GB, free: 36.91 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04606/3.748, allocations: 9.325 MB / 1.417 GB, free: 36.88 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02496/3.773, allocations: 6.072 MB / 1.423 GB, free: 36.85 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.007277/3.78, allocations: 450.6 kB / 1.424 GB, free: 36.85 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0308/3.811, allocations: 3.856 MB / 1.428 GB, free: 36.85 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.008432/3.82, allocations: 2.273 MB / 1.43 GB, free: 36.85 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01052/3.83, allocations: 2.723 MB / 1.432 GB, free: 36.82 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03464/3.865, allocations: 16.29 MB / 1.448 GB, free: 35.7 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/3.865, allocations: 0 / 1.448 GB, free: 35.7 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.755e-06/3.865, allocations: 0 / 1.448 GB, free: 35.7 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0008184/3.866, allocations: 2.062 kB / 1.448 GB, free: 35.7 MB / 0.9012 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.04086/3.907, allocations: 11.69 MB / 1.46 GB, free: 30.28 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/3.907, allocations: 7.188 kB / 1.46 GB, free: 30.28 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02679/3.934, allocations: 2.712 MB / 1.462 GB, free: 29.48 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0368/3.971, allocations: 10.81 MB / 1.473 GB, free: 27.99 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005474/3.976, allocations: 1.065 MB / 1.474 GB, free: 27.93 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003347/3.979, allocations: 0.7361 MB / 1.475 GB, free: 27.93 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03704/4.017, allocations: 9.099 MB / 1.484 GB, free: 26.71 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005096/4.017, allocations: 23.38 kB / 1.484 GB, free: 26.7 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003228/4.02, allocations: 303.2 kB / 1.484 GB, free: 26.7 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003299/4.021, allocations: 198.3 kB / 1.484 GB, free: 26.7 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/4.054, allocations: 7.396 MB / 1.491 GB, free: 26.56 MB / 0.9012 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.1099/4.164, allocations: 49.18 MB / 1.539 GB, free: 8.855 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03114/4.196, allocations: 4.805 MB / 1.544 GB, free: 8.02 MB / 0.9168 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.0471/4.243, allocations: 10.83 MB / 1.555 GB, free: 2.105 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01443/4.257, allocations: 2.593 MB / 1.557 GB, free: 1.273 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008207/4.266, allocations: 0.5745 MB / 1.558 GB, free: 0.7539 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=329): time 3.933e-05/4.266, allocations: 4 kB / 1.558 GB, free: 0.75 MB / 0.9168 GB Notification: Performance of matching and sorting (n=329): time 0.04267/4.308, allocations: 7.367 MB / 1.565 GB, free: 11.04 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/4.309, allocations: 93.98 kB / 1.565 GB, free: 10.93 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03169/4.34, allocations: 10.03 MB / 1.575 GB, free: 3.898 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.001535/4.342, allocations: 115.5 kB / 1.575 GB, free: 3.84 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01009/4.352, allocations: 5.547 MB / 1.58 GB, free: 1.055 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.004104/4.356, allocations: 1.145 MB / 1.581 GB, free: 80 kB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/4.358, allocations: 97.52 kB / 1.582 GB, free: 60 kB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.000971/4.359, allocations: 493.5 kB / 1.582 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01746/4.376, allocations: 2.214 MB / 1.584 GB, free: 14.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02108/4.397, allocations: 4.252 MB / 1.588 GB, free: 9.793 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/4.416, allocations: 2.729 MB / 1.591 GB, free: 8.035 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/4.416, allocations: 16 kB / 1.591 GB, free: 8.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=616) (initialization): time 0.04836/4.465, allocations: 7.206 MB / 1.598 GB, free: 2.793 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01336/4.478, allocations: 30.13 MB / 1.627 GB, free: 2.578 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002365/4.478, allocations: 48 kB / 1.627 GB, free: 2.531 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/4.48, allocations: 262.2 kB / 1.628 GB, free: 2.305 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/4.492, allocations: 1.317 MB / 1.629 GB, free: 1.102 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/4.499, allocations: 3.927 MB / 1.633 GB, free: 13.48 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01825/4.517, allocations: 0.9559 MB / 1.634 GB, free: 12.61 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/4.519, allocations: 267.1 kB / 1.634 GB, free: 12.38 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/4.519, allocations: 4 kB / 1.634 GB, free: 12.38 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02423/4.543, allocations: 6.036 MB / 1.64 GB, free: 8.383 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/4.543, allocations: 52 kB / 1.64 GB, free: 8.332 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009741/4.544, allocations: 263.1 kB / 1.64 GB, free: 8.102 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/4.554, allocations: 1.25 MB / 1.641 GB, free: 6.965 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/4.56, allocations: 3.939 MB / 1.645 GB, free: 3.344 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/4.577, allocations: 0.9025 MB / 1.646 GB, free: 2.523 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/4.579, allocations: 248.7 kB / 1.646 GB, free: 2.316 MB / 0.9949 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 (600): * Single equations (assignments): 594 * 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.01021/4.589, allocations: 2.565 MB / 1.649 GB, free: 0.9336 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004578/4.594, allocations: 0.9723 MB / 1.65 GB, free: 15.95 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03247/4.626, allocations: 6.077 MB / 1.656 GB, free: 11.62 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.243e-05/4.626, allocations: 36 kB / 1.656 GB, free: 11.59 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.027e-05/4.626, allocations: 4 kB / 1.656 GB, free: 11.58 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02296/4.649, allocations: 4.484 MB / 1.66 GB, free: 8.363 MB / 1.011 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.06136/4.711, allocations: 14.38 MB / 1.674 GB, free: 14.73 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/4.711, allocations: 3.953 kB / 1.674 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008973/4.72, allocations: 0.8924 MB / 1.675 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009309/4.721, allocations: 185.1 kB / 1.675 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/4.722, allocations: 111.5 kB / 1.675 GB, free: 13.67 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/4.728, allocations: 3.84 MB / 1.679 GB, free: 10.12 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/4.728, allocations: 0 / 1.679 GB, free: 10.12 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03932/4.767, allocations: 8.587 MB / 1.688 GB, free: 3.84 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009137/4.776, allocations: 1.929 MB / 1.689 GB, free: 2.441 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004321/4.781, allocations: 70.73 kB / 1.69 GB, free: 2.422 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01718/4.798, allocations: 0.9028 MB / 1.69 GB, free: 1.574 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/4.799, allocations: 220.3 kB / 1.691 GB, free: 1.383 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00116/4.801, allocations: 183.6 kB / 1.691 GB, free: 1.23 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02203/4.823, allocations: 6.805 MB / 1.697 GB, free: 12.63 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.012e-06/4.823, allocations: 0 / 1.697 GB, free: 12.63 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04697/4.87, allocations: 5.464 MB / 1.703 GB, free: 7.488 MB / 1.042 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.01036/4.88, allocations: 2.147 MB / 1.705 GB, free: 5.859 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.05343/4.934, allocations: 9.069 MB / 1.714 GB, free: 15.34 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.146e-05/4.934, allocations: 4 kB / 1.714 GB, free: 15.33 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/4.949, allocations: 2.714 MB / 1.716 GB, free: 13.35 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08373/5.033, allocations: 5 MB / 1.721 GB, free: 9.266 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/5.14, allocations: 22.42 MB / 1.743 GB, free: 4.812 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03721/5.177, allocations: 5.642 MB / 1.749 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.02493/5.202, allocations: 2.58 MB / 1.751 GB, free: 13 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005494/5.208, allocations: 0.7808 MB / 1.752 GB, free: 12.26 MB / 1.089 GB Notification: Performance of SimCode: time 9.92e-07/5.208, allocations: 4 kB / 1.752 GB, free: 12.26 MB / 1.089 GB Notification: Performance of Templates: time 1.232/6.44, allocations: 179.1 MB / 1.927 GB, free: 430.8 MB / 1.12 GB