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.001178/0.001178, allocations: 106.3 kB / 16.29 MB, free: 6.43 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.001257/0.001258, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.402/1.402, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.746/1.746, allocations: 292.3 MB / 0.5495 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.002038/0.002038, allocations: 67.91 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2427, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.3929/0.6356, allocations: 35.26 MB / 0.8185 GB, free: 27.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0099/0.6455, allocations: 6.805 MB / 0.8252 GB, free: 22.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.647, allocations: 42.47 kB / 0.8252 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6483, allocations: 497.8 kB / 0.8257 GB, free: 22.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.6518, allocations: 1.265 MB / 0.8269 GB, free: 21.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.6545, allocations: 1.038 MB / 0.8279 GB, free: 21.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00316/0.6577, allocations: 2.236 MB / 0.8301 GB, free: 19.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.6588, allocations: 0.7788 MB / 0.8309 GB, free: 19.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.6611, allocations: 1.008 MB / 0.8318 GB, free: 19.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009156/0.662, allocations: 0.6352 MB / 0.8325 GB, free: 18.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6621, allocations: 82.91 kB / 0.8325 GB, free: 18.78 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.6644, allocations: 0.9822 MB / 0.8335 GB, free: 18.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.6646, allocations: 212 kB / 0.8337 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005611/0.6652, allocations: 0.522 MB / 0.8342 GB, free: 17.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.668, allocations: 1.696 MB / 0.8359 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.6681, allocations: 5.797 kB / 0.8359 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6681, allocations: 0 / 0.8359 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.6681, allocations: 4 kB / 0.8359 GB, free: 17.31 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.002519/0.6706, allocations: 1.348 MB / 0.8372 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6707, allocations: 10.55 kB / 0.8372 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.6734, allocations: 442 kB / 0.8376 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.675, allocations: 0.8851 MB / 0.8385 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.675, allocations: 42.11 kB / 0.8385 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6751, allocations: 60.69 kB / 0.8386 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.6771, allocations: 0.825 MB / 0.8394 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6771, allocations: 9.062 kB / 0.8394 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.6772, allocations: 21.81 kB / 0.8394 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6772, allocations: 14.12 kB / 0.8394 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.6795, allocations: 0.7815 MB / 0.8402 GB, free: 15.02 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.005669/0.6852, allocations: 4.656 MB / 0.8448 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.6888, allocations: 0.8271 MB / 0.8456 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.6899, allocations: 364 kB / 0.8459 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/0.6906, allocations: 0.9305 MB / 0.8468 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.6907, allocations: 48.41 kB / 0.8469 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.956e-06/0.6907, allocations: 0.8906 kB / 0.8469 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.003404/0.6941, allocations: 1.019 MB / 0.8479 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.6941, allocations: 56 kB / 0.8479 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.6951, allocations: 0.7219 MB / 0.8486 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.6952, allocations: 36.48 kB / 0.8487 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.6955, allocations: 450.8 kB / 0.8491 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.6956, allocations: 125.5 kB / 0.8492 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.6958, allocations: 109.3 kB / 0.8493 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.6959, allocations: 324.3 kB / 0.8496 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/0.6969, allocations: 327.8 kB / 0.8499 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.6981, allocations: 0.5001 MB / 0.8504 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.7, allocations: 0.7348 MB / 0.8511 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7, allocations: 2.141 kB / 0.8511 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002687/0.7027, allocations: 0.861 MB / 0.852 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.7028, allocations: 7.594 kB / 0.852 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.7028, allocations: 5.344 kB / 0.852 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.7028, allocations: 10.19 kB / 0.852 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.7038, allocations: 183.8 kB / 0.8522 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.7038, allocations: 11.84 kB / 0.8522 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.7049, allocations: 112.5 kB / 0.8523 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.705, allocations: 31.67 kB / 0.8523 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00128/0.7063, allocations: 0.4915 MB / 0.8528 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/0.7073, allocations: 0.5037 MB / 0.8533 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001975/0.7093, allocations: 0.7323 MB / 0.854 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/0.7093, allocations: 4.156 kB / 0.854 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002422/0.7118, allocations: 0.8484 MB / 0.8548 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.7118, allocations: 14.05 kB / 0.8549 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7118, allocations: 4.344 kB / 0.8549 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.7118, allocations: 6.656 kB / 0.8549 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008657/0.7127, allocations: 182.9 kB / 0.855 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.7127, allocations: 15.5 kB / 0.8551 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.7137, allocations: 110.7 kB / 0.8552 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.7138, allocations: 29.44 kB / 0.8552 GB, free: 5.871 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.0002002/0.714, allocations: 205.4 kB / 0.8554 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.7142, allocations: 85.78 kB / 0.8555 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.7169, allocations: 0.9339 MB / 0.8564 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.7169, allocations: 8.281 kB / 0.8564 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7169, allocations: 1 kB / 0.8564 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.7169, allocations: 1.734 kB / 0.8564 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/0.7209, allocations: 1.837 MB / 0.8582 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7209, allocations: 1.344 kB / 0.8582 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.7217, allocations: 148 kB / 0.8583 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.7217, allocations: 3.438 kB / 0.8583 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.7218, allocations: 13.42 kB / 0.8583 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.7218, allocations: 2.531 kB / 0.8583 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7218, allocations: 3.594 kB / 0.8583 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.7251, allocations: 1.383 MB / 0.8597 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.7256, allocations: 225.8 kB / 0.8599 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.7257, allocations: 11.88 kB / 0.8599 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.7264, allocations: 69.69 kB / 0.86 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.7265, allocations: 35.78 kB / 0.86 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.7266, allocations: 18.11 kB / 0.86 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006485/0.7272, allocations: 0.5 MB / 0.8605 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7272, allocations: 5.344 kB / 0.8605 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0015/0.7288, allocations: 427.8 kB / 0.8609 GB, free: 2.621 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.0007676/0.7295, allocations: 330.2 kB / 0.8613 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003321/0.7329, allocations: 1.172 MB / 0.8624 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7329, allocations: 0 / 0.8624 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.734, allocations: 408.6 kB / 0.8628 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.7355, allocations: 361.4 kB / 0.8631 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.7413, allocations: 1.894 MB / 0.865 GB, free: 424 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.7418, allocations: 0.9665 MB / 0.8659 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009867/0.7428, allocations: 215.2 kB / 0.8661 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.7431, allocations: 77.83 kB / 0.8662 GB, free: 15.47 MB / 0.67 GB Notification: Performance of SimCode: time 8.71e-07/0.7432, allocations: 4 kB / 0.8662 GB, free: 15.47 MB / 0.67 GB Notification: Performance of Templates: time 0.03192/0.7751, allocations: 16.17 MB / 0.882 GB, free: 5.773 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)