Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.725/1.725, allocations: 287.5 MB / 302.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 183.4 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.0008917, allocations: 98.22 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 14.56 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02634/0.2495, allocations: 32.49 MB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008983/0.2585, allocations: 6.387 MB / 1.017 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.2597, allocations: 43.69 kB / 1.017 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.2609, allocations: 321.8 kB / 1.017 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.2639, allocations: 0.9994 MB / 1.018 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.266, allocations: 0.7285 MB / 1.019 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.2691, allocations: 2.512 MB / 1.021 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000948/0.27, allocations: 0.6098 MB / 1.022 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.2717, allocations: 0.793 MB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007467/0.2724, allocations: 0.5833 MB / 1.023 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.2725, allocations: 28 kB / 1.023 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.2741, allocations: 0.7094 MB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.2743, allocations: 143.3 kB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.2745, allocations: 225.1 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.2758, allocations: 1.185 MB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.006e-06/0.2758, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2758, allocations: 3.938 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2758, allocations: 4 kB / 1.025 GB, free: 12.3 MB / 0.6511 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.001967/0.2778, allocations: 1.187 MB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2778, allocations: 8.031 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.2804, allocations: 0.5026 MB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.2817, allocations: 0.8882 MB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.2818, allocations: 49.31 kB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.2819, allocations: 64 kB / 1.028 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.2837, allocations: 0.8592 MB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2838, allocations: 0 / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.2838, allocations: 27.94 kB / 1.029 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2839, allocations: 20 kB / 1.029 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.2862, allocations: 0.8598 MB / 1.03 GB, free: 7.691 MB / 0.6511 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.007133/0.2934, allocations: 4.695 MB / 1.034 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003797/0.2972, allocations: 0.9742 MB / 1.035 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.2982, allocations: 396.6 kB / 1.036 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008928/0.2991, allocations: 0.9532 MB / 1.037 GB, free: 72 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2992, allocations: 30.56 kB / 1.037 GB, free: 32 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.845e-06/0.2992, allocations: 4 kB / 1.037 GB, free: 28 kB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.003391/0.3026, allocations: 1.144 MB / 1.038 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3026, allocations: 55.41 kB / 1.038 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009047/0.3036, allocations: 0.72 MB / 1.038 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.3036, allocations: 33.7 kB / 1.038 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.304, allocations: 444 kB / 1.039 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3042, allocations: 130.1 kB / 1.039 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3042, allocations: 8 kB / 1.039 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3043, allocations: 322 kB / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.3054, allocations: 364.8 kB / 1.04 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.3065, allocations: 0.5502 MB / 1.04 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.3086, allocations: 0.8002 MB / 1.041 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3086, allocations: 0 / 1.041 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002471/0.3111, allocations: 0.9366 MB / 1.042 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.3113, allocations: 222.8 kB / 1.042 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3113, allocations: 4 kB / 1.042 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3113, allocations: 4.094 kB / 1.042 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.3123, allocations: 211.7 kB / 1.042 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.3123, allocations: 15.94 kB / 1.042 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009988/0.3133, allocations: 171.4 kB / 1.042 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.3134, allocations: 19.98 kB / 1.043 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.3134, allocations: 4 kB / 1.043 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002211/0.3156, allocations: 0.8308 MB / 1.043 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3156, allocations: 4 kB / 1.043 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.3156, allocations: 11.94 kB / 1.043 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.3165, allocations: 216.2 kB / 1.044 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3165, allocations: 8 kB / 1.044 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/0.3175, allocations: 155.5 kB / 1.044 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.3176, allocations: 27.98 kB / 1.044 GB, free: 8.41 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004329/0.318, allocations: 314.3 kB / 1.044 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.3181, allocations: 86.91 kB / 1.044 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.3209, allocations: 1.013 MB / 1.045 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.3209, allocations: 4 kB / 1.045 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3209, allocations: 0 / 1.045 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3209, allocations: 0 / 1.045 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.3249, allocations: 1.918 MB / 1.047 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3249, allocations: 0 / 1.047 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.3257, allocations: 179.9 kB / 1.047 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.3258, allocations: 0 / 1.047 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.3258, allocations: 27.91 kB / 1.047 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3258, allocations: 0 / 1.047 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3258, allocations: 4 kB / 1.047 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/0.3294, allocations: 1.51 MB / 1.049 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.3299, allocations: 227.9 kB / 1.049 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.33, allocations: 12 kB / 1.049 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.3307, allocations: 127.9 kB / 1.049 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.3308, allocations: 27.95 kB / 1.049 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.3309, allocations: 19.98 kB / 1.049 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006914/0.3316, allocations: 0.4912 MB / 1.05 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3316, allocations: 0 / 1.05 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001253/0.3328, allocations: 435 kB / 1.05 GB, free: 1.91 MB / 0.6667 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 (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.0006113/0.3335, allocations: 321.9 kB / 1.05 GB, free: 1.598 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.337, allocations: 1.285 MB / 1.052 GB, free: 320 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.337, allocations: 0 / 1.052 GB, free: 320 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.3382, allocations: 448.2 kB / 1.052 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.34, allocations: 342.6 kB / 1.052 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.3465, allocations: 2.392 MB / 1.055 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.3471, allocations: 0.9663 MB / 1.056 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001168/0.3483, allocations: 224.2 kB / 1.056 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.3485, allocations: 79.33 kB / 1.056 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of SimCode: time 4.5e-07/0.3485, allocations: 0 / 1.056 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of Templates: time 0.4459/0.7944, allocations: 15.08 MB / 1.071 GB, free: 88.8 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)