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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001204/0.001204, allocations: 198.1 kB / 376.9 MB, free: 1.809 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.287/1.287, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009625, allocations: 98.94 kB / 0.748 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009501/0.0009501, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2287, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.0314/0.2601, allocations: 35.1 MB / 1.016 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009166/0.2693, allocations: 6.852 MB / 1.023 GB, free: 284 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.2711, allocations: 43.69 kB / 1.023 GB, free: 240 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.4045/0.6757, allocations: 387.4 kB / 1.024 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.679, allocations: 1.168 MB / 1.025 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.6811, allocations: 0.9358 MB / 1.026 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002685/0.6837, allocations: 2.89 MB / 1.028 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008764/0.6846, allocations: 0.6338 MB / 1.029 GB, free: 63.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.6864, allocations: 0.9064 MB / 1.03 GB, free: 63.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007358/0.6871, allocations: 0.6412 MB / 1.031 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.6872, allocations: 41.53 kB / 1.031 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.6889, allocations: 0.8962 MB / 1.032 GB, free: 63.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.689, allocations: 169.9 kB / 1.032 GB, free: 63.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.6895, allocations: 487.6 kB / 1.032 GB, free: 63.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.6913, allocations: 1.647 MB / 1.034 GB, free: 62.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.6914, allocations: 0.5625 kB / 1.034 GB, free: 62.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6914, allocations: 4.75 kB / 1.034 GB, free: 62.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.6914, allocations: 0 / 1.034 GB, free: 62.79 MB / 0.7448 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.0022/0.6936, allocations: 1.349 MB / 1.035 GB, free: 62.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6936, allocations: 9.625 kB / 1.035 GB, free: 62.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.6961, allocations: 443.2 kB / 1.036 GB, free: 61.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.6976, allocations: 0.8853 MB / 1.036 GB, free: 61.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.6977, allocations: 43.94 kB / 1.036 GB, free: 61.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6978, allocations: 62.8 kB / 1.036 GB, free: 61.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6997, allocations: 0.8296 MB / 1.037 GB, free: 61.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.6997, allocations: 5 kB / 1.037 GB, free: 61.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.6998, allocations: 23.5 kB / 1.037 GB, free: 61.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.6998, allocations: 14.38 kB / 1.037 GB, free: 61.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.7023, allocations: 0.773 MB / 1.038 GB, free: 61.45 MB / 0.7448 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.005478/0.7078, allocations: 4.649 MB / 1.043 GB, free: 58.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.7115, allocations: 0.8201 MB / 1.043 GB, free: 58.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.7126, allocations: 362.1 kB / 1.044 GB, free: 58.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/0.7133, allocations: 0.9359 MB / 1.045 GB, free: 57.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.7134, allocations: 43.19 kB / 1.045 GB, free: 57.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 2.916e-06/0.7134, allocations: 0.9062 kB / 1.045 GB, free: 57.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.003286/0.7167, allocations: 1.014 MB / 1.046 GB, free: 57.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7167, allocations: 60.88 kB / 1.046 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.7176, allocations: 0.7257 MB / 1.046 GB, free: 57.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.7177, allocations: 34.89 kB / 1.047 GB, free: 57.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.718, allocations: 455.6 kB / 1.047 GB, free: 56.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.7181, allocations: 118.7 kB / 1.047 GB, free: 56.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.7183, allocations: 108.5 kB / 1.047 GB, free: 56.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.7184, allocations: 321.1 kB / 1.047 GB, free: 56.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.7195, allocations: 331.1 kB / 1.048 GB, free: 56.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.7206, allocations: 0.4976 MB / 1.048 GB, free: 56.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.7226, allocations: 0.7408 MB / 1.049 GB, free: 56.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7226, allocations: 1.344 kB / 1.049 GB, free: 56.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002288/0.7249, allocations: 0.8542 MB / 1.05 GB, free: 56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7249, allocations: 7.625 kB / 1.05 GB, free: 56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.725, allocations: 4 kB / 1.05 GB, free: 56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.725, allocations: 15.44 kB / 1.05 GB, free: 56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.7258, allocations: 177.3 kB / 1.05 GB, free: 56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.7259, allocations: 18.17 kB / 1.05 GB, free: 55.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/0.7269, allocations: 141.3 kB / 1.05 GB, free: 55.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.7269, allocations: 24.28 kB / 1.05 GB, free: 55.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001127/0.7281, allocations: 0.493 MB / 1.051 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009795/0.7291, allocations: 0.5028 MB / 1.051 GB, free: 55.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001778/0.7309, allocations: 0.734 MB / 1.052 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.7309, allocations: 0 / 1.052 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002075/0.7329, allocations: 0.8616 MB / 1.053 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.733, allocations: 6.344 kB / 1.053 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.733, allocations: 4.453 kB / 1.053 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.733, allocations: 6.406 kB / 1.053 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.7338, allocations: 184.2 kB / 1.053 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7338, allocations: 9.938 kB / 1.053 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/0.7347, allocations: 144.2 kB / 1.053 GB, free: 55.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.7348, allocations: 27.91 kB / 1.053 GB, free: 55.35 MB / 0.7448 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.000154/0.7349, allocations: 203.8 kB / 1.053 GB, free: 55.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.7351, allocations: 81.97 kB / 1.053 GB, free: 55.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.7374, allocations: 0.9371 MB / 1.054 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7375, allocations: 3.375 kB / 1.054 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.7375, allocations: 8.812 kB / 1.054 GB, free: 55.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7375, allocations: 0 / 1.054 GB, free: 55.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.7409, allocations: 1.826 MB / 1.056 GB, free: 54.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7409, allocations: 4.438 kB / 1.056 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.7417, allocations: 146.2 kB / 1.056 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.7417, allocations: 3.062 kB / 1.056 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.7417, allocations: 23.52 kB / 1.056 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7417, allocations: 3.688 kB / 1.056 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7417, allocations: 0 / 1.056 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/0.747, allocations: 3.171 MB / 1.059 GB, free: 53.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.7472, allocations: 234.1 kB / 1.06 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.7473, allocations: 7.125 kB / 1.06 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/0.748, allocations: 98.81 kB / 1.06 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.7481, allocations: 39.36 kB / 1.06 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.7481, allocations: 14.92 kB / 1.06 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004895/0.7486, allocations: 0.5011 MB / 1.06 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7487, allocations: 3.188 kB / 1.06 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001351/0.75, allocations: 0.5377 MB / 1.061 GB, free: 53.25 MB / 0.7448 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.0005462/0.7506, allocations: 324.1 kB / 1.061 GB, free: 53.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002995/0.7536, allocations: 1.167 MB / 1.062 GB, free: 53.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7536, allocations: 0 / 1.062 GB, free: 53.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.7546, allocations: 405.9 kB / 1.063 GB, free: 53.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.7561, allocations: 352.1 kB / 1.063 GB, free: 53.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.7617, allocations: 2.524 MB / 1.065 GB, free: 51.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.762, allocations: 0.9774 MB / 1.066 GB, free: 51.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008375/0.7629, allocations: 217.8 kB / 1.067 GB, free: 51.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.7631, allocations: 72.39 kB / 1.067 GB, free: 51.08 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.7631, allocations: 0 / 1.067 GB, free: 51.08 MB / 0.7448 GB Notification: Performance of Templates: time 0.02094/0.784, allocations: 15.97 MB / 1.082 GB, free: 49.83 MB / 0.7448 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)