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.176/2.176, allocations: 252.6 MB / 265.2 MB, free: 5.695 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.001469/0.001469, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001196/0.001196, allocations: 101.9 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.217e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.841/2.039, allocations: 442.6 MB / 1.327 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/2.039, allocations: 91.42 kB / 1.327 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.096/7.135, allocations: 0.9577 GB / 2.285 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.917e-06/7.135, allocations: 0.9688 kB / 2.285 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005415/7.135, allocations: 53.5 kB / 2.285 GB, free: 129.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.01193/7.147, allocations: 2.138 MB / 2.287 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/7.148, allocations: 9.625 kB / 2.287 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/7.159, allocations: 0.7321 MB / 2.288 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05088/7.21, allocations: 8.78 MB / 2.296 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/7.21, allocations: 100.7 kB / 2.296 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007337/7.211, allocations: 142.4 kB / 2.297 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006255/7.217, allocations: 1.421 MB / 2.298 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.182e-05/7.217, allocations: 3.859 kB / 2.298 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/7.218, allocations: 60 kB / 2.298 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/7.218, allocations: 32.81 kB / 2.298 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005512/7.223, allocations: 0.9996 MB / 2.299 GB, free: 127.2 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.0221/7.245, allocations: 8.38 MB / 2.307 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005296/7.251, allocations: 0.9352 MB / 2.308 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/7.252, allocations: 372.1 kB / 2.309 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007861/7.26, allocations: 2.951 MB / 2.311 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/7.261, allocations: 438.8 kB / 2.312 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001473/7.262, allocations: 189.5 kB / 2.312 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 4.097e-06/7.262, allocations: 0 / 2.312 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.002301/7.265, allocations: 0.7575 MB / 2.313 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/7.265, allocations: 117.9 kB / 2.313 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/7.268, allocations: 1.336 MB / 2.314 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/7.268, allocations: 46.62 kB / 2.314 GB, free: 120 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/7.269, allocations: 0.8976 MB / 2.315 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/7.27, allocations: 234.7 kB / 2.315 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/7.27, allocations: 23.11 kB / 2.315 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/7.27, allocations: 350.1 kB / 2.316 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008677/7.271, allocations: 329 kB / 2.316 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/7.272, allocations: 0.7892 MB / 2.317 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/7.273, allocations: 455.4 kB / 2.317 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/7.273, allocations: 3.844 kB / 2.317 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003192/7.276, allocations: 1.244 MB / 2.318 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/7.277, allocations: 5.121 MB / 2.323 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/7.277, allocations: 13.69 kB / 2.323 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.375e-05/7.277, allocations: 22.47 kB / 2.323 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/7.28, allocations: 293.5 kB / 2.324 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/7.28, allocations: 33 kB / 2.324 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/7.283, allocations: 158.1 kB / 2.324 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/7.283, allocations: 58.39 kB / 2.324 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/7.283, allocations: 2.688 kB / 2.324 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002681/7.286, allocations: 1.065 MB / 2.325 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/7.286, allocations: 13.75 kB / 2.325 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/7.286, allocations: 23.8 kB / 2.325 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/7.288, allocations: 291.7 kB / 2.325 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/7.288, allocations: 25.8 kB / 2.325 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/7.291, allocations: 152.5 kB / 2.325 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/7.291, allocations: 62.14 kB / 2.326 GB, free: 113.1 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.0003912/7.291, allocations: 179 kB / 2.326 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/7.292, allocations: 183.8 kB / 2.326 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/7.295, allocations: 1.056 MB / 2.327 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/7.295, allocations: 10.81 kB / 2.327 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/7.295, allocations: 0 / 2.327 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/7.297, allocations: 0.9504 MB / 2.328 GB, free: 112.5 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.006768/7.303, allocations: 2.484 MB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/7.303, allocations: 5.5 kB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/7.305, allocations: 175 kB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/7.305, allocations: 3.812 kB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.422e-05/7.305, allocations: 22.86 kB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/7.305, allocations: 3.969 kB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/7.305, allocations: 6.578 kB / 2.33 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/7.309, allocations: 1.505 MB / 2.332 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/7.31, allocations: 348.2 kB / 2.332 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/7.31, allocations: 20.36 kB / 2.332 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/7.312, allocations: 133.1 kB / 2.332 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/7.313, allocations: 62.8 kB / 2.333 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/7.313, allocations: 32.42 kB / 2.333 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002087/7.315, allocations: 1.022 MB / 2.334 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.663e-06/7.315, allocations: 0 / 2.334 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00553/7.32, allocations: 1.076 MB / 2.335 GB, free: 111.2 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.002958/7.323, allocations: 1.216 MB / 2.336 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003986/7.327, allocations: 1.661 MB / 2.337 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/7.328, allocations: 1.406 kB / 2.337 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/7.329, allocations: 415.2 kB / 2.338 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/7.334, allocations: 0.7675 MB / 2.339 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/7.344, allocations: 2.721 MB / 2.341 GB, free: 110 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/7.345, allocations: 1.413 MB / 2.343 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005075/7.35, allocations: 0.6007 MB / 2.343 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/7.351, allocations: 120.4 kB / 2.343 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/7.351, allocations: 3.438 kB / 2.343 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.1056/7.457, allocations: 43.44 MB / 2.386 GB, free: 107.2 MB / 0.8855 GB