Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.001171, allocations: 183.1 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000804/0.0008038, allocations: 82.36 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 9.312 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02768/0.2665, allocations: 34.32 MB / 0.935 GB, free: 29.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.2771, allocations: 6.757 MB / 0.9416 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.2787, allocations: 39.69 kB / 0.9416 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2801, allocations: 397.8 kB / 0.942 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.2833, allocations: 1.162 MB / 0.9431 GB, free: 20.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.2856, allocations: 0.9384 MB / 0.944 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.2884, allocations: 2.879 MB / 0.9468 GB, free: 16.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007718/0.2892, allocations: 0.6098 MB / 0.9474 GB, free: 16.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.2907, allocations: 0.8787 MB / 0.9483 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.2913, allocations: 0.6219 MB / 0.9489 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.2914, allocations: 32 kB / 0.9489 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.2931, allocations: 0.8849 MB / 0.9498 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2932, allocations: 151.2 kB / 0.9499 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.2936, allocations: 0.4912 MB / 0.9504 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.2947, allocations: 1.228 MB / 0.9516 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2947, allocations: 0 / 0.9516 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2947, allocations: 0 / 0.9516 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.2947, allocations: 0 / 0.9516 GB, free: 11.94 MB / 0.6042 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.001768/0.2965, allocations: 1.191 MB / 0.9528 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2965, allocations: 12.03 kB / 0.9528 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.2989, allocations: 0.4953 MB / 0.9533 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3001, allocations: 0.8845 MB / 0.9541 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.3002, allocations: 53.31 kB / 0.9542 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.3003, allocations: 56 kB / 0.9542 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3019, allocations: 0.8748 MB / 0.9551 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.302, allocations: 0 / 0.9551 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.302, allocations: 24 kB / 0.9551 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3021, allocations: 16 kB / 0.9551 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.3041, allocations: 0.8599 MB / 0.956 GB, free: 7.336 MB / 0.6042 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.004784/0.3089, allocations: 4.699 MB / 0.9606 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.3125, allocations: 0.9705 MB / 0.9615 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009447/0.3135, allocations: 406 kB / 0.9619 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008342/0.3143, allocations: 0.9415 MB / 0.9628 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.3144, allocations: 46.48 kB / 0.9629 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 3.066e-06/0.3144, allocations: 0 / 0.9629 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.003341/0.3177, allocations: 1.145 MB / 0.964 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3178, allocations: 55.41 kB / 0.964 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3188, allocations: 0.7239 MB / 0.9647 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.3189, allocations: 33.7 kB / 0.9648 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.3193, allocations: 444 kB / 0.9652 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3194, allocations: 134.2 kB / 0.9653 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.3195, allocations: 4 kB / 0.9653 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3196, allocations: 322 kB / 0.9656 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.3207, allocations: 368.9 kB / 0.966 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3218, allocations: 0.5425 MB / 0.9665 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.324, allocations: 0.8196 MB / 0.9673 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.324, allocations: 3.938 kB / 0.9673 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002601/0.3266, allocations: 0.9484 MB / 0.9682 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.3268, allocations: 216.7 kB / 0.9685 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3269, allocations: 4 kB / 0.9685 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.3269, allocations: 8 kB / 0.9685 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.3278, allocations: 215.7 kB / 0.9687 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.3279, allocations: 4 kB / 0.9687 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3289, allocations: 167.3 kB / 0.9688 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.329, allocations: 31.98 kB / 0.9689 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3291, allocations: 6.812 kB / 0.9689 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00226/0.3313, allocations: 0.8313 MB / 0.9697 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3313, allocations: 8 kB / 0.9697 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.3314, allocations: 4 kB / 0.9697 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.3323, allocations: 215.8 kB / 0.9699 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3323, allocations: 15.88 kB / 0.9699 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/0.3332, allocations: 155.5 kB / 0.9701 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.3333, allocations: 27.98 kB / 0.9701 GB, free: 8 MB / 0.6198 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.0004822/0.3338, allocations: 312.9 kB / 0.9704 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.3339, allocations: 83 kB / 0.9705 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.3366, allocations: 1.007 MB / 0.9715 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.3366, allocations: 15.94 kB / 0.9715 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3366, allocations: 4 kB / 0.9715 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3366, allocations: 3.984 kB / 0.9715 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.3404, allocations: 1.914 MB / 0.9733 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3404, allocations: 0 / 0.9733 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.3413, allocations: 179.9 kB / 0.9735 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.3413, allocations: 4 kB / 0.9735 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.3414, allocations: 15.98 kB / 0.9735 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3414, allocations: 4 kB / 0.9735 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3414, allocations: 4 kB / 0.9735 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.3449, allocations: 1.506 MB / 0.975 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.3453, allocations: 239.8 kB / 0.9752 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.3454, allocations: 7.984 kB / 0.9753 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/0.3462, allocations: 123.9 kB / 0.9754 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3463, allocations: 23.97 kB / 0.9754 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.3464, allocations: 27.97 kB / 0.9754 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006416/0.347, allocations: 0.499 MB / 0.9759 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.347, allocations: 0 / 0.9759 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001241/0.3483, allocations: 431.1 kB / 0.9763 GB, free: 1.496 MB / 0.6198 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.0006574/0.3489, allocations: 324.6 kB / 0.9766 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003445/0.3524, allocations: 1.296 MB / 0.9779 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3524, allocations: 0 / 0.9779 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.3535, allocations: 451.8 kB / 0.9783 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.3554, allocations: 351.2 kB / 0.9787 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.362, allocations: 2.466 MB / 0.9811 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.3625, allocations: 0.9585 MB / 0.982 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.3629, allocations: 83.39 kB / 0.9821 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.3629, allocations: 0 / 0.9821 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.02384/0.3868, allocations: 15.33 MB / 0.9971 GB, free: 12.33 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)