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.563/1.563, allocations: 252 MB / 267.6 MB, free: 10.91 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.001056/0.001056, allocations: 183.8 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.00087/0.0008704, allocations: 90.08 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003889, allocations: 8.875 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 106.3 MB / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02965/0.2753, allocations: 32.51 MB / 0.9326 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008818/0.2842, allocations: 6.362 MB / 0.9388 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.2858, allocations: 43.69 kB / 0.9388 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.2871, allocations: 325.8 kB / 0.9391 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.2906, allocations: 0.9868 MB / 0.9401 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.2931, allocations: 0.7219 MB / 0.9408 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003216/0.2963, allocations: 2.49 MB / 0.9432 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.2973, allocations: 0.5633 MB / 0.9438 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.2992, allocations: 0.8008 MB / 0.9446 GB, free: 19.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.3001, allocations: 0.5755 MB / 0.9451 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-05/0.3002, allocations: 32 kB / 0.9452 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3019, allocations: 0.7017 MB / 0.9459 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3021, allocations: 155.2 kB / 0.946 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.3024, allocations: 221.2 kB / 0.9462 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3038, allocations: 1.181 MB / 0.9474 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3038, allocations: 0 / 0.9474 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3038, allocations: 0 / 0.9474 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.3039, allocations: 0 / 0.9474 GB, free: 16.41 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.002183/0.306, allocations: 1.199 MB / 0.9485 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3061, allocations: 8.031 kB / 0.9485 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.3087, allocations: 0.5022 MB / 0.949 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3101, allocations: 0.8461 MB / 0.9499 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.3102, allocations: 49.25 kB / 0.9499 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.3103, allocations: 60 kB / 0.95 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.312, allocations: 0.871 MB / 0.9508 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3121, allocations: 0 / 0.9508 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.3121, allocations: 20 kB / 0.9508 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3121, allocations: 19.95 kB / 0.9509 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3143, allocations: 0.856 MB / 0.9517 GB, free: 11.84 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.00535/0.3196, allocations: 4.691 MB / 0.9563 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.3232, allocations: 0.9704 MB / 0.9572 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/0.3241, allocations: 404.6 kB / 0.9576 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000751/0.3249, allocations: 0.9532 MB / 0.9585 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.3249, allocations: 34.55 kB / 0.9586 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/0.3249, allocations: 0 / 0.9586 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.003139/0.3281, allocations: 1.145 MB / 0.9597 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.3281, allocations: 51.41 kB / 0.9597 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.3289, allocations: 0.7239 MB / 0.9604 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.329, allocations: 33.7 kB / 0.9605 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.3293, allocations: 448 kB / 0.9609 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.3294, allocations: 122.2 kB / 0.961 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.3294, allocations: 8 kB / 0.961 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.3295, allocations: 329.9 kB / 0.9613 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.3304, allocations: 356.9 kB / 0.9617 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.3314, allocations: 0.5464 MB / 0.9622 GB, free: 320 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3324, allocations: 375.5 kB / 0.9626 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.3324, allocations: 4 kB / 0.9626 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002507/0.335, allocations: 0.929 MB / 0.9635 GB, free: 15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.3351, allocations: 229 kB / 0.9637 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3352, allocations: 4 kB / 0.9637 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.3352, allocations: 8 kB / 0.9637 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.3361, allocations: 215.7 kB / 0.9639 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3362, allocations: 4 kB / 0.9639 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3373, allocations: 168.1 kB / 0.9641 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.3373, allocations: 27.98 kB / 0.9641 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.3374, allocations: 11.89 kB / 0.9641 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002247/0.3396, allocations: 0.8345 MB / 0.9649 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3396, allocations: 4 kB / 0.9649 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.3396, allocations: 8 kB / 0.965 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/0.3405, allocations: 212.3 kB / 0.9652 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3406, allocations: 7.984 kB / 0.9652 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.3416, allocations: 155.5 kB / 0.9653 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.3417, allocations: 27.97 kB / 0.9653 GB, free: 13.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000514/0.3422, allocations: 308.9 kB / 0.9656 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3424, allocations: 87.02 kB / 0.9657 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.3451, allocations: 1.019 MB / 0.9667 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.3451, allocations: 11.98 kB / 0.9667 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3452, allocations: 11.92 kB / 0.9667 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3452, allocations: 0 / 0.9667 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.3493, allocations: 1.895 MB / 0.9686 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3493, allocations: 96 / 0.9686 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.3502, allocations: 183.8 kB / 0.9688 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.3502, allocations: 4 kB / 0.9688 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.3502, allocations: 11.98 kB / 0.9688 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.3503, allocations: 4 kB / 0.9688 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3503, allocations: 7.922 kB / 0.9688 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/0.3539, allocations: 1.502 MB / 0.9703 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.3544, allocations: 235.9 kB / 0.9705 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.3545, allocations: 12.06 kB / 0.9705 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.3553, allocations: 119.9 kB / 0.9706 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.3554, allocations: 31.95 kB / 0.9706 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.3555, allocations: 15.98 kB / 0.9706 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007755/0.3562, allocations: 0.499 MB / 0.9711 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.3563, allocations: 3.938 kB / 0.9711 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00133/0.3576, allocations: 435 kB / 0.9716 GB, free: 6.551 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 (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.0006711/0.3583, allocations: 313.4 kB / 0.9719 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003614/0.3619, allocations: 1.284 MB / 0.9731 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3619, allocations: 0 / 0.9731 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3631, allocations: 451.7 kB / 0.9735 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.365, allocations: 355.8 kB / 0.9739 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.372, allocations: 2.427 MB / 0.9762 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3726, allocations: 0.9663 MB / 0.9772 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.373, allocations: 87.33 kB / 0.9773 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.373, allocations: 0 / 0.9773 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of Templates: time 0.02558/0.3986, allocations: 15.34 MB / 0.9923 GB, free: 1.43 MB / 0.6355 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)