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.001189/0.001189, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.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.719/1.719, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001463/0.001463, allocations: 71.53 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 114.5 MB / 0.7834 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03202/0.2986, allocations: 35.27 MB / 0.8178 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008912/0.3076, allocations: 6.796 MB / 0.8244 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.3087, allocations: 51.69 kB / 0.8245 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.3099, allocations: 492.7 kB / 0.825 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.3127, allocations: 1.27 MB / 0.8262 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.3149, allocations: 1.04 MB / 0.8272 GB, free: 476 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.3174, allocations: 2.22 MB / 0.8294 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000946/0.3183, allocations: 0.7805 MB / 0.8301 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3199, allocations: 0.996 MB / 0.8311 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007127/0.3206, allocations: 0.6494 MB / 0.8317 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3208, allocations: 84 kB / 0.8318 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.3225, allocations: 0.971 MB / 0.8328 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3227, allocations: 215.1 kB / 0.833 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.3231, allocations: 0.517 MB / 0.8335 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.3251, allocations: 1.683 MB / 0.8351 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3251, allocations: 7.938 kB / 0.8351 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3251, allocations: 0 / 0.8351 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.3251, allocations: 0 / 0.8351 GB, free: 8.305 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.002268/0.3274, allocations: 1.355 MB / 0.8365 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3274, allocations: 16.03 kB / 0.8365 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.3303, allocations: 438.9 kB / 0.8369 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.3317, allocations: 0.8843 MB / 0.8378 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.3318, allocations: 45.31 kB / 0.8378 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3319, allocations: 60 kB / 0.8379 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.3337, allocations: 0.828 MB / 0.8387 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3338, allocations: 3.984 kB / 0.8387 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.3338, allocations: 27.94 kB / 0.8387 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3339, allocations: 16 kB / 0.8387 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.3362, allocations: 0.77 MB / 0.8395 GB, free: 3.727 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.006054/0.3423, allocations: 4.676 MB / 0.844 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.3462, allocations: 0.8259 MB / 0.8448 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3472, allocations: 368.6 kB / 0.8452 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008707/0.3481, allocations: 0.9298 MB / 0.8461 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3481, allocations: 46.5 kB / 0.8461 GB, free: 12.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.3481, allocations: 4 kB / 0.8461 GB, free: 12.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003297/0.3514, allocations: 1.03 MB / 0.8471 GB, free: 11.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3515, allocations: 55.41 kB / 0.8472 GB, free: 11.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.3524, allocations: 0.7278 MB / 0.8479 GB, free: 10.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.3524, allocations: 33.7 kB / 0.8479 GB, free: 10.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.3527, allocations: 443.9 kB / 0.8484 GB, free: 9.949 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3528, allocations: 122.2 kB / 0.8485 GB, free: 9.828 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.353, allocations: 110.1 kB / 0.8486 GB, free: 9.715 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3531, allocations: 326 kB / 0.8489 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.3542, allocations: 326.8 kB / 0.8492 GB, free: 9.066 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.3553, allocations: 0.5117 MB / 0.8497 GB, free: 8.477 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.3574, allocations: 0.726 MB / 0.8504 GB, free: 7.691 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3574, allocations: 0 / 0.8504 GB, free: 7.691 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002458/0.3599, allocations: 0.8623 MB / 0.8513 GB, free: 6.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3599, allocations: 8 kB / 0.8513 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3599, allocations: 4 kB / 0.8513 GB, free: 6.809 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.36, allocations: 4 kB / 0.8513 GB, free: 6.805 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.3609, allocations: 188.2 kB / 0.8515 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.3609, allocations: 8.031 kB / 0.8515 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008416/0.3618, allocations: 123.3 kB / 0.8516 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.3619, allocations: 23.98 kB / 0.8516 GB, free: 6.469 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001261/0.3631, allocations: 0.4971 MB / 0.8521 GB, free: 5.969 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.3643, allocations: 0.5074 MB / 0.8526 GB, free: 5.383 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002026/0.3663, allocations: 0.7261 MB / 0.8533 GB, free: 4.598 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.3664, allocations: 4 kB / 0.8533 GB, free: 4.594 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002428/0.3688, allocations: 0.8475 MB / 0.8541 GB, free: 3.738 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3688, allocations: 14.75 kB / 0.8541 GB, free: 3.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3688, allocations: 4 kB / 0.8541 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.3688, allocations: 8 kB / 0.8541 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.3697, allocations: 183.8 kB / 0.8543 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3698, allocations: 8 kB / 0.8543 GB, free: 3.527 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/0.3707, allocations: 111.6 kB / 0.8544 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.3707, allocations: 27.98 kB / 0.8545 GB, free: 3.391 MB / 0.67 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.000174/0.3709, allocations: 215.4 kB / 0.8547 GB, free: 3.176 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.371, allocations: 86.91 kB / 0.8548 GB, free: 3.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.3738, allocations: 0.9324 MB / 0.8557 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3738, allocations: 8 kB / 0.8557 GB, free: 2.148 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3738, allocations: 0 / 0.8557 GB, free: 2.148 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3738, allocations: 3.984 kB / 0.8557 GB, free: 2.145 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.3776, allocations: 1.824 MB / 0.8575 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3776, allocations: 0 / 0.8575 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/0.3785, allocations: 147.9 kB / 0.8576 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3785, allocations: 4 kB / 0.8576 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.3785, allocations: 15.98 kB / 0.8576 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.3785, allocations: 7.938 kB / 0.8576 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3785, allocations: 0 / 0.8576 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.3821, allocations: 1.389 MB / 0.859 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.3824, allocations: 231.8 kB / 0.8592 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3825, allocations: 8 kB / 0.8592 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.3832, allocations: 79.95 kB / 0.8593 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3833, allocations: 27.91 kB / 0.8593 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.3834, allocations: 23.92 kB / 0.8593 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006107/0.384, allocations: 0.5029 MB / 0.8598 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.384, allocations: 0 / 0.8598 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001111/0.3851, allocations: 435 kB / 0.8602 GB, free: 13.36 MB / 0.6856 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.0005504/0.3857, allocations: 315.2 kB / 0.8605 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003591/0.3893, allocations: 1.195 MB / 0.8617 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3893, allocations: 0 / 0.8617 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3905, allocations: 416.1 kB / 0.8621 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.3921, allocations: 358.3 kB / 0.8624 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006291/0.3984, allocations: 1.918 MB / 0.8643 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3989, allocations: 0.9699 MB / 0.8653 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009512/0.3998, allocations: 208.6 kB / 0.8655 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.4001, allocations: 75.41 kB / 0.8655 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.4001, allocations: 0 / 0.8655 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of Templates: time 0.02542/0.4255, allocations: 16.19 MB / 0.8813 GB, free: 7.961 MB / 0.7012 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)