Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 104.3 kB / 16.35 MB, free: 5.879 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.001533/0.001533, allocations: 193.1 kB / 17.29 MB, free: 5.516 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.272/1.272, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.738/1.738, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001458/0.001458, allocations: 75.19 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1919, allocations: 114.5 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.3323/0.5243, allocations: 35.26 MB / 0.8192 GB, free: 27.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008126/0.5324, allocations: 6.811 MB / 0.8259 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.5337, allocations: 46.56 kB / 0.8259 GB, free: 22.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.5348, allocations: 490.8 kB / 0.8264 GB, free: 22.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.538, allocations: 1.262 MB / 0.8276 GB, free: 21.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.5404, allocations: 1.045 MB / 0.8286 GB, free: 20.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002726/0.5431, allocations: 2.239 MB / 0.8308 GB, free: 19.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000977/0.5441, allocations: 0.7679 MB / 0.8316 GB, free: 19.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.5457, allocations: 1.004 MB / 0.8325 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.5464, allocations: 0.6422 MB / 0.8332 GB, free: 18.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.5466, allocations: 83.38 kB / 0.8332 GB, free: 18.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.5486, allocations: 0.9812 MB / 0.8342 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.5488, allocations: 217.1 kB / 0.8344 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.5493, allocations: 0.5172 MB / 0.8349 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.5514, allocations: 1.698 MB / 0.8366 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5514, allocations: 0 / 0.8366 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5514, allocations: 0 / 0.8366 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.5515, allocations: 1.125 kB / 0.8366 GB, free: 17.17 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002341/0.5538, allocations: 1.359 MB / 0.8379 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5539, allocations: 10.78 kB / 0.8379 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.5566, allocations: 438.9 kB / 0.8383 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.558, allocations: 0.8834 MB / 0.8392 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.558, allocations: 41.97 kB / 0.8392 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5582, allocations: 65 kB / 0.8393 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.56, allocations: 0.8287 MB / 0.8401 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.56, allocations: 1.188 kB / 0.8401 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.5601, allocations: 25.56 kB / 0.8401 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.5601, allocations: 15.06 kB / 0.8401 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.5624, allocations: 0.7805 MB / 0.8409 GB, free: 14.86 MB / 0.6544 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.005408/0.5678, allocations: 4.652 MB / 0.8454 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/0.5716, allocations: 0.8306 MB / 0.8463 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.5726, allocations: 363.1 kB / 0.8466 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007324/0.5734, allocations: 0.9366 MB / 0.8475 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.5734, allocations: 41.86 kB / 0.8476 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.5734, allocations: 0 / 0.8476 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.003319/0.5767, allocations: 1.02 MB / 0.8486 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.5768, allocations: 62.62 kB / 0.8486 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.5777, allocations: 0.7219 MB / 0.8493 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.5778, allocations: 36.39 kB / 0.8494 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.578, allocations: 443.6 kB / 0.8498 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/0.5781, allocations: 124 kB / 0.8499 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.5783, allocations: 110.1 kB / 0.85 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.5784, allocations: 323.3 kB / 0.8503 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009887/0.5794, allocations: 333.7 kB / 0.8506 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5805, allocations: 0.5026 MB / 0.8511 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.5824, allocations: 0.7349 MB / 0.8518 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5824, allocations: 3.938 kB / 0.8518 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002348/0.5848, allocations: 0.8613 MB / 0.8527 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5848, allocations: 6.812 kB / 0.8527 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5848, allocations: 5.516 kB / 0.8527 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.5849, allocations: 6.5 kB / 0.8527 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009573/0.5858, allocations: 184.8 kB / 0.8529 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5858, allocations: 8.266 kB / 0.8529 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.5868, allocations: 118.4 kB / 0.853 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.5869, allocations: 26.64 kB / 0.853 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/0.5881, allocations: 0.5 MB / 0.8535 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/0.5892, allocations: 0.4979 MB / 0.854 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001919/0.5911, allocations: 0.7254 MB / 0.8547 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.5911, allocations: 5.062 kB / 0.8547 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002656/0.5938, allocations: 0.8495 MB / 0.8555 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5938, allocations: 11.16 kB / 0.8556 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5938, allocations: 8.891 kB / 0.8556 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.5939, allocations: 8.062 kB / 0.8556 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/0.5948, allocations: 185.5 kB / 0.8557 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5948, allocations: 10.88 kB / 0.8558 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009934/0.5958, allocations: 114.9 kB / 0.8559 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.5959, allocations: 25.3 kB / 0.8559 GB, free: 5.715 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002012/0.5961, allocations: 207.5 kB / 0.8561 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5962, allocations: 85.53 kB / 0.8562 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.5988, allocations: 0.9317 MB / 0.8571 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5989, allocations: 9.125 kB / 0.8571 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5989, allocations: 1.312 kB / 0.8571 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5989, allocations: 3.828 kB / 0.8571 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.6025, allocations: 1.836 MB / 0.8589 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6026, allocations: 2.844 kB / 0.8589 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.6034, allocations: 148.4 kB / 0.859 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6034, allocations: 2.406 kB / 0.859 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.6035, allocations: 13.95 kB / 0.859 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6035, allocations: 3.031 kB / 0.859 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6035, allocations: 4 kB / 0.8591 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.6067, allocations: 1.381 MB / 0.8604 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.6071, allocations: 228 kB / 0.8606 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.6072, allocations: 14.69 kB / 0.8606 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.6079, allocations: 67.31 kB / 0.8607 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.608, allocations: 37.2 kB / 0.8607 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.608, allocations: 22.77 kB / 0.8608 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005782/0.6086, allocations: 0.4994 MB / 0.8612 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6086, allocations: 0.9062 kB / 0.8612 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001291/0.6099, allocations: 429 kB / 0.8616 GB, free: 2.414 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005774/0.6105, allocations: 326.9 kB / 0.862 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003267/0.6138, allocations: 1.169 MB / 0.8631 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6138, allocations: 0 / 0.8631 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6149, allocations: 405.1 kB / 0.8635 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.6163, allocations: 365 kB / 0.8638 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.6222, allocations: 1.907 MB / 0.8657 GB, free: 208 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.6227, allocations: 0.9649 MB / 0.8666 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008582/0.6235, allocations: 209.8 kB / 0.8668 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.6238, allocations: 78.27 kB / 0.8669 GB, free: 15.27 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.6238, allocations: 0 / 0.8669 GB, free: 15.27 MB / 0.67 GB Notification: Performance of Templates: time 0.02736/0.6511, allocations: 16.16 MB / 0.8827 GB, free: 5.445 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)