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.001341/0.001341, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001158/0.001158, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.889/1.889, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001699/0.001699, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2655, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.517/0.7825, allocations: 35.27 MB / 0.8192 GB, free: 27.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.795, allocations: 6.809 MB / 0.8259 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.7969, allocations: 46.72 kB / 0.8259 GB, free: 22.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.7988, allocations: 490.9 kB / 0.8264 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.8035, allocations: 1.258 MB / 0.8276 GB, free: 21.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.8072, allocations: 1.042 MB / 0.8286 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005002/0.8122, allocations: 2.238 MB / 0.8308 GB, free: 20.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.8141, allocations: 0.7747 MB / 0.8316 GB, free: 19.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.8176, allocations: 1.005 MB / 0.8325 GB, free: 19.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.8193, allocations: 0.6426 MB / 0.8332 GB, free: 18.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.8196, allocations: 83.97 kB / 0.8333 GB, free: 18.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.823, allocations: 0.9839 MB / 0.8342 GB, free: 18.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.8233, allocations: 205 kB / 0.8344 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008993/0.8243, allocations: 0.5248 MB / 0.8349 GB, free: 18.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.8281, allocations: 1.701 MB / 0.8366 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8281, allocations: 0 / 0.8366 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8281, allocations: 0.7969 kB / 0.8366 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.8281, allocations: 0 / 0.8366 GB, free: 17.43 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.002846/0.831, allocations: 1.357 MB / 0.8379 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.8311, allocations: 9.281 kB / 0.8379 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.8338, allocations: 438.3 kB / 0.8383 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.8356, allocations: 0.9384 MB / 0.8393 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.8356, allocations: 49.56 kB / 0.8393 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.8358, allocations: 60.75 kB / 0.8394 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.8378, allocations: 0.8258 MB / 0.8402 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.8378, allocations: 3.938 kB / 0.8402 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.8379, allocations: 22.91 kB / 0.8402 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.8379, allocations: 14.41 kB / 0.8402 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.8403, allocations: 0.7805 MB / 0.841 GB, free: 15.11 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.006259/0.8465, allocations: 4.659 MB / 0.8455 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.8505, allocations: 0.8279 MB / 0.8463 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.8517, allocations: 364.9 kB / 0.8467 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/0.8525, allocations: 0.933 MB / 0.8476 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.8525, allocations: 42.12 kB / 0.8476 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.8525, allocations: 0 / 0.8476 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.003601/0.8561, allocations: 1.022 MB / 0.8486 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.8562, allocations: 56.19 kB / 0.8487 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.8573, allocations: 0.725 MB / 0.8494 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.8574, allocations: 32.73 kB / 0.8494 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.8577, allocations: 447.2 kB / 0.8498 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.8579, allocations: 125.1 kB / 0.85 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.8581, allocations: 112.3 kB / 0.8501 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.8582, allocations: 323.3 kB / 0.8504 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.8594, allocations: 325 kB / 0.8507 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.8606, allocations: 0.5056 MB / 0.8512 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.8627, allocations: 0.7384 MB / 0.8519 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8627, allocations: 0 / 0.8519 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002662/0.8654, allocations: 0.8617 MB / 0.8527 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.8654, allocations: 7.125 kB / 0.8528 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8654, allocations: 4.562 kB / 0.8528 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.8654, allocations: 7.469 kB / 0.8528 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.8664, allocations: 185.1 kB / 0.8529 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.8664, allocations: 11.44 kB / 0.8529 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.8675, allocations: 115.6 kB / 0.8531 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.8676, allocations: 27.03 kB / 0.8531 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.8689, allocations: 0.4949 MB / 0.8536 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001168/0.8701, allocations: 0.5049 MB / 0.8541 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00199/0.8721, allocations: 0.7274 MB / 0.8548 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.8721, allocations: 0.9062 kB / 0.8548 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002631/0.8747, allocations: 0.8481 MB / 0.8556 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8748, allocations: 14.62 kB / 0.8556 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8748, allocations: 6.5 kB / 0.8556 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.8748, allocations: 6.375 kB / 0.8556 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.8757, allocations: 187.7 kB / 0.8558 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8758, allocations: 7.25 kB / 0.8558 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.877, allocations: 112.4 kB / 0.8559 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.877, allocations: 26.53 kB / 0.8559 GB, free: 5.973 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.0002591/0.8773, allocations: 206.2 kB / 0.8561 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.8775, allocations: 86.12 kB / 0.8562 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.8804, allocations: 0.9422 MB / 0.8571 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.8804, allocations: 5.312 kB / 0.8572 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8804, allocations: 0 / 0.8572 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.8805, allocations: 3.984 kB / 0.8572 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/0.8845, allocations: 1.822 MB / 0.8589 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.8846, allocations: 1.125 kB / 0.8589 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.8854, allocations: 152.2 kB / 0.8591 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.8854, allocations: 4.812 kB / 0.8591 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.8855, allocations: 23.27 kB / 0.8591 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.8855, allocations: 6.031 kB / 0.8591 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8855, allocations: 1.219 kB / 0.8591 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.8891, allocations: 1.381 MB / 0.8605 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.8896, allocations: 229.6 kB / 0.8607 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.8898, allocations: 11.66 kB / 0.8607 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.8905, allocations: 73.77 kB / 0.8608 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.8906, allocations: 33.78 kB / 0.8608 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.8906, allocations: 22.33 kB / 0.8608 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007473/0.8914, allocations: 0.5006 MB / 0.8613 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8914, allocations: 0 / 0.8613 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001578/0.893, allocations: 432.7 kB / 0.8617 GB, free: 2.547 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.000716/0.8937, allocations: 324 kB / 0.862 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003692/0.8974, allocations: 1.163 MB / 0.8632 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8974, allocations: 0 / 0.8632 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.8986, allocations: 404.7 kB / 0.8635 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.9006, allocations: 362.5 kB / 0.8639 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.9073, allocations: 1.945 MB / 0.8658 GB, free: 320 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.9079, allocations: 0.9653 MB / 0.8667 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.9084, allocations: 91.31 kB / 0.8668 GB, free: 15.46 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/0.9084, allocations: 0 / 0.8668 GB, free: 15.46 MB / 0.67 GB Notification: Performance of Templates: time 0.03288/0.9412, allocations: 15.39 MB / 0.8818 GB, free: 6.348 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 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)