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.0008803/0.0008803, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009141/0.0009141, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.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.733/1.733, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005881/0.0005884, allocations: 17.12 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.286, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.05404/0.3401, allocations: 57.91 MB / 0.8438 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.3661, allocations: 18.03 MB / 0.8614 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.37, allocations: 79.44 kB / 0.8615 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.3736, allocations: 0.8269 MB / 0.8623 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.3818, allocations: 2.177 MB / 0.8644 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008603/0.3905, allocations: 2.709 MB / 0.8671 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009182/0.3997, allocations: 5.709 MB / 0.8727 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.4026, allocations: 1.322 MB / 0.874 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.4072, allocations: 1.719 MB / 0.8756 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.41, allocations: 1.357 MB / 0.877 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.4104, allocations: 76 kB / 0.877 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.4145, allocations: 1.583 MB / 0.8786 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006724/0.4152, allocations: 430.1 kB / 0.879 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009725/0.4162, allocations: 448.6 kB / 0.8794 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.4205, allocations: 2.774 MB / 0.8821 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4205, allocations: 0 / 0.8821 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4205, allocations: 11.94 kB / 0.8821 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.25e-05/0.4206, allocations: 0 / 0.8821 GB, free: 10.57 MB / 0.7012 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.004489/0.4251, allocations: 2.275 MB / 0.8844 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4251, allocations: 12.03 kB / 0.8844 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.4287, allocations: 0.7661 MB / 0.8851 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.4322, allocations: 1.759 MB / 0.8868 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.4326, allocations: 166.6 kB / 0.887 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.4328, allocations: 128 kB / 0.8871 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.4361, allocations: 1.68 MB / 0.8888 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.4362, allocations: 3.938 kB / 0.8888 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.4363, allocations: 55.98 kB / 0.8888 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.4363, allocations: 32 kB / 0.8889 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/0.44, allocations: 1.495 MB / 0.8903 GB, free: 1.965 MB / 0.7012 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.01227/0.4523, allocations: 8.862 MB / 0.899 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.4569, allocations: 1.47 MB / 0.9004 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.4584, allocations: 0.5998 MB / 0.901 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004837/0.4632, allocations: 2.875 MB / 0.9038 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/0.4648, allocations: 0.6589 MB / 0.9044 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007171/0.4655, allocations: 190.9 kB / 0.9046 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.4655, allocations: 0 / 0.9046 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=66): time 0.004341/0.4698, allocations: 1.668 MB / 0.9062 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.4699, allocations: 145.1 kB / 0.9064 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.4721, allocations: 1.573 MB / 0.9079 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4723, allocations: 45.7 kB / 0.908 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.4731, allocations: 0.8963 MB / 0.9088 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.4733, allocations: 232.7 kB / 0.9091 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.4734, allocations: 23.98 kB / 0.9091 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4735, allocations: 349.9 kB / 0.9094 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.475, allocations: 0.5569 MB / 0.91 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.4767, allocations: 1.034 MB / 0.911 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4782, allocations: 0.6645 MB / 0.9116 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.4783, allocations: 4 kB / 0.9116 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003907/0.4822, allocations: 1.719 MB / 0.9133 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003833/0.4826, allocations: 491.7 kB / 0.9138 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.4826, allocations: 12 kB / 0.9138 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.4826, allocations: 20 kB / 0.9138 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.484, allocations: 331.5 kB / 0.9141 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.484, allocations: 31.8 kB / 0.9142 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.4858, allocations: 196.3 kB / 0.9143 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4859, allocations: 63.97 kB / 0.9144 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4859, allocations: 8 kB / 0.9144 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003391/0.4893, allocations: 1.524 MB / 0.9159 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.4894, allocations: 20.19 kB / 0.9159 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.4894, allocations: 23.95 kB / 0.9159 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4907, allocations: 327.5 kB / 0.9162 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.4907, allocations: 31.92 kB / 0.9163 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.4924, allocations: 192.5 kB / 0.9165 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4926, allocations: 63.97 kB / 0.9165 GB, free: 5.66 MB / 0.7325 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.0009447/0.4935, allocations: 0.4889 MB / 0.917 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.4938, allocations: 177.8 kB / 0.9172 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.4974, allocations: 1.511 MB / 0.9186 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.4974, allocations: 8 kB / 0.9187 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4974, allocations: 3.938 kB / 0.9187 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003261/0.5007, allocations: 1.402 MB / 0.92 GB, free: 2 MB / 0.7325 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.5285/1.029, allocations: 3.097 MB / 0.9231 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.029, allocations: 1.062 kB / 0.9231 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.03, allocations: 226.4 kB / 0.9233 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.03, allocations: 3.438 kB / 0.9233 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/1.03, allocations: 22.77 kB / 0.9233 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.031, allocations: 4.188 kB / 0.9233 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.031, allocations: 0.9844 kB / 0.9233 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/1.036, allocations: 2.181 MB / 0.9254 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/1.036, allocations: 385.7 kB / 0.9258 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.037, allocations: 12.78 kB / 0.9258 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.038, allocations: 179.6 kB / 0.926 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.038, allocations: 56.14 kB / 0.926 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/1.038, allocations: 31.98 kB / 0.9261 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001769/1.04, allocations: 1.053 MB / 0.9271 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.04, allocations: 0 / 0.9271 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002882/1.043, allocations: 0.9878 MB / 0.9281 GB, free: 130.4 MB / 0.7325 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.001017/1.044, allocations: 0.5298 MB / 0.9286 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004623/1.048, allocations: 2.311 MB / 0.9308 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.048, allocations: 0 / 0.9308 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.05, allocations: 0.636 MB / 0.9315 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/1.054, allocations: 0.7872 MB / 0.9322 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/1.064, allocations: 4.568 MB / 0.9367 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.066, allocations: 1.371 MB / 0.938 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002676/1.068, allocations: 450.8 kB / 0.9385 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/1.069, allocations: 153.3 kB / 0.9386 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.422e-06/1.069, allocations: 1 kB / 0.9386 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05796/1.127, allocations: 34.26 MB / 0.9721 GB, free: 108 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: