Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.652/4.652, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.003853/0.003853, allocations: 356 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.054/4.054, allocations: 410.7 MB / 1.112 GB, free: 147.9 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.001718/0.001717, allocations: 187.7 kB / 1.225 GB, free: 35.9 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004688, allocations: 12 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 115.3 MB / 1.461 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.07883/0.2385, allocations: 57.9 MB / 1.517 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6232/0.8618, allocations: 17.84 MB / 1.535 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.8654, allocations: 82.69 kB / 1.535 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.8692, allocations: 0.9138 MB / 1.536 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00987/0.8791, allocations: 2.693 MB / 1.538 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.8902, allocations: 3.042 MB / 1.541 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009518/0.8997, allocations: 5.736 MB / 1.547 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.9028, allocations: 1.314 MB / 1.548 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.9076, allocations: 1.666 MB / 1.55 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003325/0.9109, allocations: 1.353 MB / 1.551 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.9114, allocations: 75.16 kB / 1.551 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005157/0.9166, allocations: 1.415 MB / 1.553 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.9178, allocations: 423.7 kB / 1.553 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.919, allocations: 452.8 kB / 1.553 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.9247, allocations: 2.733 MB / 1.556 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.994e-06/0.9247, allocations: 0 / 1.556 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.339e-06/0.9247, allocations: 0 / 1.556 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.829e-05/0.9248, allocations: 1.375 kB / 1.556 GB, free: 14.11 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.006042/0.9309, allocations: 2.264 MB / 1.558 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9309, allocations: 10.62 kB / 1.558 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.9358, allocations: 0.7773 MB / 1.559 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/0.9406, allocations: 1.745 MB / 1.561 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004768/0.9411, allocations: 163.2 kB / 1.561 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.9415, allocations: 134.3 kB / 1.561 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004817/0.9463, allocations: 1.678 MB / 1.563 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.9464, allocations: 2.125 kB / 1.563 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.9466, allocations: 55.3 kB / 1.563 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.9467, allocations: 31.38 kB / 1.563 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005632/0.9523, allocations: 1.498 MB / 1.564 GB, free: 11.81 MB / 0.6667 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.01717/0.9695, allocations: 8.86 MB / 1.573 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.976, allocations: 1.481 MB / 1.574 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/0.9783, allocations: 0.5958 MB / 1.575 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006735/0.9851, allocations: 2.879 MB / 1.578 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/0.9873, allocations: 0.6542 MB / 1.578 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0012/0.9886, allocations: 184.8 kB / 1.579 GB, free: 20 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 4.672e-06/0.9886, allocations: 0 / 1.579 GB, free: 20 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.00641/0.995, allocations: 1.679 MB / 1.58 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.9951, allocations: 139.8 kB / 1.58 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.9983, allocations: 1.579 MB / 1.582 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/0.9986, allocations: 44.52 kB / 1.582 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008717/0.9994, allocations: 0.8943 MB / 1.583 GB, free: 18.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.9997, allocations: 235.7 kB / 1.583 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.9999, allocations: 22.06 kB / 1.583 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1, allocations: 346.2 kB / 1.583 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.002, allocations: 0.5641 MB / 1.584 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/1.004, allocations: 1.039 MB / 1.585 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/1.007, allocations: 0.6607 MB / 1.586 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.007, allocations: 3.344 kB / 1.586 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005634/1.012, allocations: 1.715 MB / 1.587 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002666/1.013, allocations: 485.3 kB / 1.588 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/1.013, allocations: 17.58 kB / 1.588 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/1.013, allocations: 21.27 kB / 1.588 GB, free: 16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.015, allocations: 333.3 kB / 1.588 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/1.015, allocations: 28.23 kB / 1.588 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.017, allocations: 196.7 kB / 1.588 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.017, allocations: 61.78 kB / 1.588 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.017, allocations: 3.25 kB / 1.588 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005373/1.023, allocations: 1.529 MB / 1.59 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/1.023, allocations: 14.94 kB / 1.59 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/1.023, allocations: 18.94 kB / 1.59 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.025, allocations: 336.3 kB / 1.59 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/1.025, allocations: 25.86 kB / 1.59 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.027, allocations: 193.4 kB / 1.59 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/1.027, allocations: 62.94 kB / 1.59 GB, free: 15.33 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0012/1.028, allocations: 0.4923 MB / 1.591 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/1.029, allocations: 179.8 kB / 1.591 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/1.033, allocations: 1.51 MB / 1.593 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/1.033, allocations: 11.14 kB / 1.593 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.033, allocations: 9.344 kB / 1.593 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003859/1.037, allocations: 1.387 MB / 1.594 GB, free: 13.87 MB / 0.6823 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.008947/1.046, allocations: 3.111 MB / 1.597 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.812e-06/1.046, allocations: 4.062 kB / 1.597 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.048, allocations: 220.9 kB / 1.597 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/1.048, allocations: 11.34 kB / 1.597 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.048, allocations: 25.64 kB / 1.597 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.632e-06/1.048, allocations: 7.344 kB / 1.597 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.981e-06/1.048, allocations: 3.938 kB / 1.597 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006705/1.055, allocations: 2.177 MB / 1.599 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.056, allocations: 378.3 kB / 1.6 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/1.057, allocations: 29.69 kB / 1.6 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/1.059, allocations: 171.8 kB / 1.6 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.059, allocations: 54.77 kB / 1.6 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.059, allocations: 35.66 kB / 1.6 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002228/1.061, allocations: 1.057 MB / 1.601 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.09e-07/1.061, allocations: 0 / 1.601 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004536/1.066, allocations: 0.9805 MB / 1.602 GB, free: 9.363 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.001607/1.067, allocations: 0.5354 MB / 1.603 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007527/1.075, allocations: 2.309 MB / 1.605 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.018e-06/1.075, allocations: 0 / 1.605 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/1.077, allocations: 0.6376 MB / 1.605 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005111/1.082, allocations: 0.7842 MB / 1.606 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.096, allocations: 4.551 MB / 1.611 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/1.097, allocations: 1.414 MB / 1.612 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003183/1.101, allocations: 458.2 kB / 1.612 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/1.101, allocations: 151.4 kB / 1.613 GB, free: 14.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.448e-06/1.101, allocations: 3.938 kB / 1.613 GB, free: 14.77 MB / 0.698 GB Notification: Performance of Templates: time 0.083/1.184, allocations: 34.25 MB / 1.646 GB, free: 13.16 MB / 0.7292 GB