Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.215/2.215, allocations: 253.2 MB / 260.6 MB, free: 7.418 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 182.6 kB / 319.9 MB, free: 3.008 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.024/2.024, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001115/0.001115, allocations: 78.77 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.106e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.862/2.07, allocations: 442.9 MB / 1.321 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/2.071, allocations: 93.14 kB / 1.321 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.049/7.12, allocations: 0.9532 GB / 2.274 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/7.12, allocations: 0 / 2.274 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004349/7.12, allocations: 58.3 kB / 2.275 GB, free: 128.1 MB / 0.8855 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.008973/7.129, allocations: 2.137 MB / 2.277 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/7.129, allocations: 12.97 kB / 2.277 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007789/7.137, allocations: 0.7299 MB / 2.277 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03497/7.172, allocations: 8.747 MB / 2.286 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/7.172, allocations: 39.53 kB / 2.286 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/7.173, allocations: 86.03 kB / 2.286 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003333/7.176, allocations: 0.9315 MB / 2.287 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/7.181, allocations: 1.23 MB / 2.288 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-05/7.181, allocations: 6.812 kB / 2.288 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/7.181, allocations: 3.438 kB / 2.288 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/7.181, allocations: 33.19 kB / 2.288 GB, free: 126.3 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.0187/7.2, allocations: 8.141 MB / 2.296 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/7.205, allocations: 0.9368 MB / 2.297 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/7.206, allocations: 369.8 kB / 2.297 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009019/7.215, allocations: 2.901 MB / 2.3 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/7.216, allocations: 415.8 kB / 2.301 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001637/7.218, allocations: 158.4 kB / 2.301 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 8.155e-06/7.218, allocations: 2.531 kB / 2.301 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.004019/7.222, allocations: 0.8314 MB / 2.302 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/7.222, allocations: 111.1 kB / 2.302 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/7.225, allocations: 1.183 MB / 2.303 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000306/7.226, allocations: 32.19 kB / 2.303 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/7.227, allocations: 0.9031 MB / 2.304 GB, free: 119 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/7.227, allocations: 224.4 kB / 2.304 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/7.227, allocations: 1.094 kB / 2.304 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001084/7.228, allocations: 348.8 kB / 2.304 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/7.228, allocations: 317.6 kB / 2.305 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/7.23, allocations: 0.7806 MB / 2.305 GB, free: 118 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/7.232, allocations: 494.5 kB / 2.306 GB, free: 118 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/7.232, allocations: 6.625 kB / 2.306 GB, free: 118 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004702/7.237, allocations: 1.214 MB / 2.307 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/7.238, allocations: 5.085 MB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.498e-05/7.238, allocations: 13.38 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/7.238, allocations: 23.38 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/7.241, allocations: 290 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.315e-05/7.241, allocations: 29.62 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/7.244, allocations: 130.6 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/7.244, allocations: 64.73 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/7.244, allocations: 3.406 kB / 2.312 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004193/7.249, allocations: 0.9942 MB / 2.313 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.724e-05/7.249, allocations: 20.14 kB / 2.313 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/7.249, allocations: 19.72 kB / 2.313 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/7.251, allocations: 287.3 kB / 2.314 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-05/7.251, allocations: 28.14 kB / 2.314 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/7.254, allocations: 130.4 kB / 2.314 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/7.255, allocations: 63.3 kB / 2.314 GB, free: 112.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * 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.0004648/7.255, allocations: 142.9 kB / 2.314 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006617/7.256, allocations: 171 kB / 2.314 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/7.26, allocations: 1.054 MB / 2.315 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/7.26, allocations: 10.72 kB / 2.315 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/7.26, allocations: 7.812 kB / 2.315 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00255/7.263, allocations: 0.9593 MB / 2.316 GB, free: 111.8 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.008796/7.272, allocations: 2.349 MB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/7.272, allocations: 1.031 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/7.274, allocations: 172.6 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/7.274, allocations: 3.344 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/7.274, allocations: 22.73 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/7.274, allocations: 3.125 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/7.274, allocations: 1.031 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/7.278, allocations: 1.497 MB / 2.32 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/7.28, allocations: 336 kB / 2.321 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006022/7.28, allocations: 7.125 kB / 2.321 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/7.283, allocations: 116.1 kB / 2.321 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/7.283, allocations: 58.97 kB / 2.321 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/7.283, allocations: 36.53 kB / 2.321 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001953/7.285, allocations: 0.8752 MB / 2.322 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.573e-06/7.285, allocations: 0 / 2.322 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006972/7.292, allocations: 1.025 MB / 2.323 GB, free: 110.7 MB / 0.8855 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) * 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.003164/7.295, allocations: 1.177 MB / 2.324 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003742/7.299, allocations: 1.576 MB / 2.325 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/7.299, allocations: 0 / 2.325 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/7.3, allocations: 399.8 kB / 2.326 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/7.306, allocations: 0.7097 MB / 2.326 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/7.316, allocations: 2.663 MB / 2.329 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/7.317, allocations: 1.418 MB / 2.33 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004965/7.322, allocations: 0.5733 MB / 2.331 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/7.323, allocations: 122.7 kB / 2.331 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/7.323, allocations: 0 / 2.331 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.08972/7.413, allocations: 35.85 MB / 2.366 GB, free: 107.2 MB / 0.8855 GB