Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 109.7 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 59.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2223, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.4424/0.6647, allocations: 62.81 MB / 0.8461 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02876/0.6935, allocations: 19.15 MB / 0.8648 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.6977, allocations: 92.91 kB / 0.8649 GB, free: 10.3 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.7015, allocations: 1.251 MB / 0.8661 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009477/0.7111, allocations: 2.729 MB / 0.8688 GB, free: 7.965 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.7233, allocations: 3.758 MB / 0.8725 GB, free: 6.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.7334, allocations: 5.119 MB / 0.8775 GB, free: 2.988 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.7366, allocations: 1.749 MB / 0.8792 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.7424, allocations: 2.168 MB / 0.8813 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.746, allocations: 1.495 MB / 0.8828 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008015/0.7468, allocations: 190.5 kB / 0.8829 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006176/0.753, allocations: 2.15 MB / 0.885 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000981/0.754, allocations: 0.5462 MB / 0.8856 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002331/0.7564, allocations: 1.154 MB / 0.8867 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007545/0.7639, allocations: 3.868 MB / 0.8905 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.764, allocations: 5.031 kB / 0.8905 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.104e-06/0.764, allocations: 0 / 0.8905 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.31e-05/0.764, allocations: 0 / 0.8905 GB, free: 10.68 MB / 0.6856 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.005564/0.7696, allocations: 2.658 MB / 0.8931 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.7697, allocations: 9.875 kB / 0.8931 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/0.7737, allocations: 0.6714 MB / 0.8937 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.7775, allocations: 1.867 MB / 0.8956 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.7776, allocations: 102.8 kB / 0.8957 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.7779, allocations: 131.8 kB / 0.8958 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/0.7812, allocations: 1.636 MB / 0.8974 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.7812, allocations: 5.562 kB / 0.8974 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.7814, allocations: 53.19 kB / 0.8974 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.7814, allocations: 42.11 kB / 0.8975 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/0.7852, allocations: 1.414 MB / 0.8989 GB, free: 4.984 MB / 0.6856 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.01193/0.7972, allocations: 8.934 MB / 0.9076 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/0.8023, allocations: 1.304 MB / 0.9089 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.8038, allocations: 0.5587 MB / 0.9094 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004775/0.8086, allocations: 2.854 MB / 0.9122 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.8103, allocations: 0.612 MB / 0.9128 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005039/0.8109, allocations: 79.2 kB / 0.9129 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=65): time 3.287e-06/0.8109, allocations: 7.875 kB / 0.9129 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of matching and sorting (n=65): time 0.004771/0.8157, allocations: 1.566 MB / 0.9144 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.8158, allocations: 137.1 kB / 0.9145 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.818, allocations: 1.612 MB / 0.9161 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.804e-05/0.8181, allocations: 45.7 kB / 0.9162 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/0.8189, allocations: 0.8924 MB / 0.917 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.8191, allocations: 232.7 kB / 0.9173 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.8195, allocations: 242.6 kB / 0.9175 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8196, allocations: 349.9 kB / 0.9178 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.8212, allocations: 0.5525 MB / 0.9184 GB, free: 344 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.8233, allocations: 1.006 MB / 0.9193 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.8266, allocations: 1.46 MB / 0.9208 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.8266, allocations: 4 kB / 0.9208 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004218/0.8308, allocations: 1.665 MB / 0.9224 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.8309, allocations: 41.64 kB / 0.9224 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.8309, allocations: 15.98 kB / 0.9224 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.831, allocations: 20 kB / 0.9225 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8324, allocations: 311.7 kB / 0.9228 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.8324, allocations: 23.92 kB / 0.9228 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.8341, allocations: 121.3 kB / 0.9229 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.8342, allocations: 59.98 kB / 0.923 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00212/0.8363, allocations: 0.8694 MB / 0.9238 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001866/0.8382, allocations: 0.9902 MB / 0.9248 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003148/0.8414, allocations: 1.422 MB / 0.9262 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.144e-06/0.8414, allocations: 4 kB / 0.9262 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.004265/0.8457, allocations: 1.645 MB / 0.9278 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.8457, allocations: 37.89 kB / 0.9278 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.8457, allocations: 21.34 kB / 0.9278 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8458, allocations: 16 kB / 0.9278 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.8471, allocations: 308.8 kB / 0.9281 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.8472, allocations: 27.86 kB / 0.9282 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.8489, allocations: 132.8 kB / 0.9283 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.849, allocations: 55.98 kB / 0.9283 GB, free: 5.289 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003582/0.8493, allocations: 265 kB / 0.9286 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.8496, allocations: 181.6 kB / 0.9288 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.8536, allocations: 1.45 MB / 0.9302 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003113/0.8567, allocations: 1.324 MB / 0.9315 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8567, allocations: 0 / 0.9315 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006684/0.8574, allocations: 370.6 kB / 0.9318 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.8576, allocations: 16 kB / 0.9319 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.8588, allocations: 99.89 kB / 0.9319 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8589, allocations: 48.58 kB / 0.932 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004106/0.863, allocations: 1.378 MB / 0.9333 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00507/0.8681, allocations: 2.177 MB / 0.9355 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001475/0.8696, allocations: 0.5754 MB / 0.936 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001556/0.8711, allocations: 1.074 MB / 0.9371 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of Backend: time 5.91e-07/0.8712, allocations: 4 kB / 0.9371 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006776/0.8779, allocations: 2.411 MB / 0.9394 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of SimCode: time 0.007124/0.8851, allocations: 4.064 MB / 0.9434 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of Templates: time 0.06977/0.9549, allocations: 44.93 MB / 0.9873 GB, free: 9.422 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)