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 2.727/2.727, allocations: 287.9 MB / 302.9 MB, free: 8.242 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.001398/0.001398, allocations: 183.7 kB / 371.4 MB, free: 10.69 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 2.204/2.204, allocations: 205.4 MB / 0.6301 GB, free: 10.44 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.001012/0.001012, allocations: 91.3 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004584, allocations: 15 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.06212/0.2162, allocations: 52.71 MB / 1.03 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0322/0.2484, allocations: 16.93 MB / 1.047 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.2514, allocations: 75.44 kB / 1.047 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00414/0.2555, allocations: 1.007 MB / 1.048 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0097/0.2653, allocations: 2.552 MB / 1.05 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.2767, allocations: 2.977 MB / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006826/0.2836, allocations: 3.02 MB / 1.056 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.2865, allocations: 1.33 MB / 1.057 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.2908, allocations: 1.545 MB / 1.059 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.2929, allocations: 0.9838 MB / 1.06 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.2934, allocations: 72 kB / 1.06 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.2979, allocations: 1.47 MB / 1.061 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.2988, allocations: 394.4 kB / 1.062 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008651/0.2996, allocations: 452.6 kB / 1.062 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.3048, allocations: 2.712 MB / 1.065 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.381e-06/0.3048, allocations: 0 / 1.065 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.809e-06/0.3048, allocations: 0 / 1.065 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.937e-05/0.3049, allocations: 0 / 1.065 GB, free: 3.805 MB / 0.6823 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.005834/0.3107, allocations: 2.26 MB / 1.067 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3108, allocations: 8.031 kB / 1.067 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.3156, allocations: 0.77 MB / 1.068 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5141/0.8298, allocations: 1.708 MB / 1.07 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004992/0.8303, allocations: 163.8 kB / 1.07 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.8307, allocations: 131.7 kB / 1.07 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.8353, allocations: 1.657 MB / 1.071 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.8354, allocations: 1.938 kB / 1.071 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.8356, allocations: 53.06 kB / 1.071 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/0.8356, allocations: 36.36 kB / 1.072 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.8409, allocations: 1.485 MB / 1.073 GB, free: 87.51 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 preOpt removeSimpleEquations (simulation): time 0.01946/0.8604, allocations: 9.033 MB / 1.082 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.8732, allocations: 1.462 MB / 1.083 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/0.887, allocations: 3.246 MB / 1.086 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004286/0.8913, allocations: 0.6416 MB / 1.087 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001909/0.8933, allocations: 187.4 kB / 1.087 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 8.036e-06/0.8933, allocations: 1.312 kB / 1.087 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.01192/0.9053, allocations: 1.66 MB / 1.089 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.9054, allocations: 138.2 kB / 1.089 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/0.9109, allocations: 1.611 MB / 1.091 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003289/0.9113, allocations: 44.72 kB / 1.091 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.9128, allocations: 0.8947 MB / 1.091 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.9133, allocations: 242.6 kB / 1.092 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.9135, allocations: 21.5 kB / 1.092 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9137, allocations: 347.5 kB / 1.092 GB, free: 75.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/0.9176, allocations: 0.5514 MB / 1.093 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/0.9221, allocations: 1.027 MB / 1.094 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/0.9262, allocations: 0.6611 MB / 1.094 GB, free: 74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.9262, allocations: 3.688 kB / 1.094 GB, free: 74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.01101/0.9373, allocations: 1.704 MB / 1.096 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001734/0.9391, allocations: 5.018 MB / 1.101 GB, free: 68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-05/0.9392, allocations: 13.45 kB / 1.101 GB, free: 68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.64e-05/0.9393, allocations: 19.91 kB / 1.101 GB, free: 68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.9418, allocations: 338.9 kB / 1.101 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.58e-05/0.9419, allocations: 27.66 kB / 1.101 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.9443, allocations: 195.5 kB / 1.101 GB, free: 67.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.9445, allocations: 67.05 kB / 1.101 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9445, allocations: 4.031 kB / 1.101 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005114/0.9497, allocations: 1.519 MB / 1.103 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/0.9498, allocations: 15.31 kB / 1.103 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.9498, allocations: 19 kB / 1.103 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.9517, allocations: 338.9 kB / 1.103 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.489e-05/0.9517, allocations: 27.42 kB / 1.103 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.954, allocations: 206 kB / 1.103 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.9543, allocations: 59.73 kB / 1.104 GB, free: 67.3 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.00113/0.9554, allocations: 0.4909 MB / 1.104 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.9558, allocations: 183.2 kB / 1.104 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/0.9609, allocations: 1.498 MB / 1.106 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.961, allocations: 14.7 kB / 1.106 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.838e-06/0.961, allocations: 3.75 kB / 1.106 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004089/0.9651, allocations: 1.377 MB / 1.107 GB, free: 65.66 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.009095/0.9742, allocations: 3.158 MB / 1.11 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.9743, allocations: 1.094 kB / 1.11 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/0.976, allocations: 231.1 kB / 1.11 GB, free: 64.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.9761, allocations: 3.438 kB / 1.11 GB, free: 64.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.9762, allocations: 20.83 kB / 1.11 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.9762, allocations: 13.17 kB / 1.11 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.9762, allocations: 1.312 kB / 1.11 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007392/0.9836, allocations: 2.187 MB / 1.112 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.9848, allocations: 386.9 kB / 1.113 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.9851, allocations: 25.28 kB / 1.113 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.9871, allocations: 178.9 kB / 1.113 GB, free: 62.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.9873, allocations: 50.48 kB / 1.113 GB, free: 62.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.9874, allocations: 40.58 kB / 1.113 GB, free: 62.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002099/0.9895, allocations: 1.074 MB / 1.114 GB, free: 61.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.28e-07/0.9896, allocations: 4 kB / 1.114 GB, free: 61.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004183/0.9938, allocations: 0.9938 MB / 1.115 GB, free: 61.67 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.001412/0.9952, allocations: 0.5708 MB / 1.116 GB, free: 61.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007034/1.002, allocations: 2.286 MB / 1.118 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.326e-06/1.002, allocations: 5.031 kB / 1.118 GB, free: 60.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.005, allocations: 0.6243 MB / 1.119 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/1.01, allocations: 0.782 MB / 1.119 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.023, allocations: 4.106 MB / 1.123 GB, free: 56.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/1.025, allocations: 1.407 MB / 1.125 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003421/1.029, allocations: 461.2 kB / 1.125 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/1.029, allocations: 157.6 kB / 1.125 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.671e-06/1.029, allocations: 0 / 1.125 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.0723/1.102, allocations: 34.97 MB / 1.159 GB, free: 23.9 MB / 0.6823 GB