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 5.157/5.157, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.003515/0.003515, allocations: 354.8 kB / 0.6446 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.099/4.099, allocations: 410.7 MB / 1.113 GB, free: 148 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 172.6 kB / 1.226 GB, free: 36.07 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 13.38 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 115.3 MB / 1.461 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.083/2.291, allocations: 486.5 MB / 1.936 GB, free: 283.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/2.291, allocations: 96.25 kB / 1.937 GB, free: 283.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 26.89/29.18, allocations: 5.356 GB / 7.293 GB, free: 58.39 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.064e-06/29.18, allocations: 2.938 kB / 7.293 GB, free: 58.39 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002295/29.19, allocations: 317.3 kB / 7.293 GB, free: 58.33 MB / 1.214 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.05339/29.24, allocations: 13.7 MB / 7.306 GB, free: 52.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/29.24, allocations: 10.86 kB / 7.306 GB, free: 52.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/29.26, allocations: 2.481 MB / 7.309 GB, free: 51.57 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06009/29.32, allocations: 16.73 MB / 7.325 GB, free: 49.37 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007824/29.32, allocations: 0.5623 MB / 7.326 GB, free: 49.36 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002937/29.32, allocations: 0.7362 MB / 7.326 GB, free: 49.35 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/29.35, allocations: 8.616 MB / 7.335 GB, free: 48.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/29.35, allocations: 25.02 kB / 7.335 GB, free: 48.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001495/29.35, allocations: 310.6 kB / 7.335 GB, free: 48.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/29.35, allocations: 198.8 kB / 7.335 GB, free: 48.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/29.38, allocations: 6.374 MB / 7.342 GB, free: 48.01 MB / 1.214 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.07588/29.45, allocations: 45.73 MB / 7.386 GB, free: 21.85 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/29.47, allocations: 4.023 MB / 7.39 GB, free: 21.72 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00657/29.47, allocations: 2.25 MB / 7.392 GB, free: 21.67 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02366/29.5, allocations: 9.389 MB / 7.401 GB, free: 17.85 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006768/29.5, allocations: 2.174 MB / 7.404 GB, free: 17.73 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006716/29.51, allocations: 0.592 MB / 7.404 GB, free: 17.54 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 1.308e-05/29.51, allocations: 0 / 7.404 GB, free: 17.54 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.02483/29.54, allocations: 7.101 MB / 7.411 GB, free: 15.79 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/29.54, allocations: 88.69 kB / 7.411 GB, free: 15.72 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02022/29.56, allocations: 8.965 MB / 7.42 GB, free: 15.07 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/29.56, allocations: 115 kB / 7.42 GB, free: 15.04 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.006763/29.56, allocations: 5.585 MB / 7.426 GB, free: 13.46 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/29.57, allocations: 1.171 MB / 7.427 GB, free: 12.72 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/29.57, allocations: 94.17 kB / 7.427 GB, free: 12.72 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002542/29.57, allocations: 495 kB / 7.427 GB, free: 12.41 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006013/29.57, allocations: 1.69 MB / 7.429 GB, free: 12.39 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007104/29.58, allocations: 3.861 MB / 7.433 GB, free: 9.664 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007415/29.59, allocations: 2.284 MB / 7.435 GB, free: 9.461 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-05/29.59, allocations: 14.34 kB / 7.435 GB, free: 9.461 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.0202/29.61, allocations: 6.415 MB / 7.441 GB, free: 8.363 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008757/29.61, allocations: 1.679 MB / 7.443 GB, free: 6.223 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/29.61, allocations: 56.23 kB / 7.443 GB, free: 6.223 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/29.61, allocations: 0.5214 MB / 7.443 GB, free: 6.133 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007983/29.62, allocations: 1.123 MB / 7.444 GB, free: 6.051 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/29.63, allocations: 8.318 MB / 7.453 GB, free: 15.16 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/29.64, allocations: 0.7125 MB / 7.453 GB, free: 15.06 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/29.64, allocations: 273.2 kB / 7.454 GB, free: 15.06 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/29.64, allocations: 7.625 kB / 7.454 GB, free: 15.05 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01573/29.66, allocations: 5.374 MB / 7.459 GB, free: 14.47 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.536e-05/29.66, allocations: 53.19 kB / 7.459 GB, free: 14.47 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/29.66, allocations: 0.5336 MB / 7.459 GB, free: 14.38 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007178/29.67, allocations: 1.079 MB / 7.46 GB, free: 14.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/29.67, allocations: 8.321 MB / 7.469 GB, free: 7.414 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/29.69, allocations: 0.6956 MB / 7.469 GB, free: 7.324 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/29.69, allocations: 253.8 kB / 7.469 GB, free: 7.324 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * 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 (580): * Single equations (assignments): 566 * 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: 10 * 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: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008099/29.69, allocations: 2.568 MB / 7.472 GB, free: 7.02 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003073/29.7, allocations: 0.9816 MB / 7.473 GB, free: 6.496 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.019/29.72, allocations: 5.418 MB / 7.478 GB, free: 5.324 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/29.72, allocations: 42.56 kB / 7.478 GB, free: 5.32 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/29.72, allocations: 0 / 7.478 GB, free: 5.32 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01318/29.73, allocations: 3.854 MB / 7.482 GB, free: 3.816 MB / 1.229 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.04064/29.77, allocations: 12.56 MB / 7.494 GB, free: 15.11 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/29.77, allocations: 3.188 kB / 7.494 GB, free: 15.11 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005838/29.78, allocations: 0.7074 MB / 7.495 GB, free: 15.05 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/29.78, allocations: 464.2 kB / 7.495 GB, free: 14.86 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/29.78, allocations: 110.4 kB / 7.496 GB, free: 14.81 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008005/29.79, allocations: 8.22 MB / 7.504 GB, free: 7.25 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/29.79, allocations: 0 / 7.504 GB, free: 7.25 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02431/29.81, allocations: 7.313 MB / 7.511 GB, free: 4.047 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006762/29.82, allocations: 1.639 MB / 7.512 GB, free: 3.043 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002826/29.82, allocations: 67.06 kB / 7.512 GB, free: 2.996 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/29.83, allocations: 0.6482 MB / 7.513 GB, free: 2.855 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/29.83, allocations: 225.8 kB / 7.513 GB, free: 2.824 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007069/29.83, allocations: 195.3 kB / 7.513 GB, free: 2.793 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01516/29.85, allocations: 5.97 MB / 7.519 GB, free: 0.7031 MB / 1.245 GB Notification: Performance of sort global known variables: time 6.11e-07/29.85, allocations: 0 / 7.519 GB, free: 0.7031 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.02602/29.87, allocations: 5.558 MB / 7.525 GB, free: 15.36 MB / 1.26 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): 311 * 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: 10 * 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: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01357/29.89, allocations: 6.448 MB / 7.531 GB, free: 9.84 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.02526/29.91, allocations: 7.797 MB / 7.539 GB, free: 2.949 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/29.91, allocations: 8.688 kB / 7.539 GB, free: 2.941 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.007615/29.92, allocations: 2.345 MB / 7.541 GB, free: 0.8672 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04522/29.97, allocations: 5.379 MB / 7.546 GB, free: 14.37 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.119/31.09, allocations: 21.86 MB / 7.567 GB, free: 108.7 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/31.1, allocations: 5.65 MB / 7.573 GB, free: 107.8 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01965/31.12, allocations: 2.569 MB / 7.575 GB, free: 107.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003787/31.12, allocations: 0.7456 MB / 7.576 GB, free: 107.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.052e-06/31.12, allocations: 0.9688 kB / 7.576 GB, free: 107.7 MB / 1.276 GB Notification: Performance of Templates: time 0.4853/31.61, allocations: 202.7 MB / 7.774 GB, free: 95.13 MB / 1.276 GB