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.393/1.393, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001486/0.001486, allocations: 173.9 kB / 326.5 MB, free: 2.676 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.931/1.931, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0009015/0.0009014, allocations: 87.8 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8.75 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2495, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02818/0.2777, allocations: 34.78 MB / 0.9307 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008244/0.286, allocations: 6.828 MB / 0.9374 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.2874, allocations: 47.69 kB / 0.9374 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.2887, allocations: 393.8 kB / 0.9378 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.2919, allocations: 1.17 MB / 0.9389 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.2942, allocations: 0.9332 MB / 0.9398 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003038/0.2972, allocations: 2.871 MB / 0.9426 GB, free: 21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2984, allocations: 0.6192 MB / 0.9433 GB, free: 20.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3004, allocations: 0.8786 MB / 0.9441 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.3015, allocations: 0.6182 MB / 0.9447 GB, free: 18.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.3017, allocations: 32 kB / 0.9447 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.3039, allocations: 0.8771 MB / 0.9456 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.3041, allocations: 155.2 kB / 0.9457 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007599/0.3049, allocations: 469.4 kB / 0.9462 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.3066, allocations: 1.231 MB / 0.9474 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3066, allocations: 0 / 0.9474 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3066, allocations: 4 kB / 0.9474 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.999e-05/0.3067, allocations: 4 kB / 0.9474 GB, free: 16.1 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.002443/0.3092, allocations: 1.18 MB / 0.9486 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3092, allocations: 8.031 kB / 0.9486 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.3118, allocations: 0.5031 MB / 0.9491 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.3133, allocations: 0.8935 MB / 0.9499 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.3134, allocations: 45.31 kB / 0.95 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.3135, allocations: 56 kB / 0.95 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.3151, allocations: 0.8787 MB / 0.9509 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.3151, allocations: 0 / 0.9509 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.3152, allocations: 32 kB / 0.9509 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3152, allocations: 16 kB / 0.9509 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3172, allocations: 0.8521 MB / 0.9518 GB, free: 11.5 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.004926/0.3222, allocations: 4.695 MB / 0.9563 GB, free: 6.406 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.3256, allocations: 0.9821 MB / 0.9573 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.3266, allocations: 396.6 kB / 0.9577 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/0.3273, allocations: 0.9494 MB / 0.9586 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3273, allocations: 34.56 kB / 0.9586 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.3273, allocations: 4 kB / 0.9586 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.003046/0.3304, allocations: 1.149 MB / 0.9598 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3304, allocations: 55.41 kB / 0.9598 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.3312, allocations: 0.7394 MB / 0.9605 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.3312, allocations: 33.7 kB / 0.9606 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.3315, allocations: 440 kB / 0.961 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/0.3316, allocations: 122.1 kB / 0.9611 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.3317, allocations: 45.69 kB / 0.9612 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.3317, allocations: 322 kB / 0.9615 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009067/0.3326, allocations: 364.9 kB / 0.9618 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3337, allocations: 0.5426 MB / 0.9623 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.3357, allocations: 0.8155 MB / 0.9631 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3358, allocations: 4 kB / 0.9631 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002467/0.3382, allocations: 0.9368 MB / 0.9641 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.3384, allocations: 228.7 kB / 0.9643 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3384, allocations: 4 kB / 0.9643 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.3385, allocations: 8 kB / 0.9643 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.3394, allocations: 215.7 kB / 0.9645 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.3394, allocations: 11.94 kB / 0.9645 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.3404, allocations: 159.4 kB / 0.9647 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.3405, allocations: 27.98 kB / 0.9647 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.3405, allocations: 4 kB / 0.9647 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002228/0.3428, allocations: 0.8347 MB / 0.9655 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3428, allocations: 7.984 kB / 0.9655 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3428, allocations: 8 kB / 0.9655 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.3437, allocations: 208.3 kB / 0.9657 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3437, allocations: 15.88 kB / 0.9657 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3447, allocations: 159.5 kB / 0.9659 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.3448, allocations: 23.98 kB / 0.9659 GB, free: 12.12 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.0004799/0.3453, allocations: 316.9 kB / 0.9662 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3455, allocations: 79.06 kB / 0.9663 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.3482, allocations: 1.016 MB / 0.9673 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.3482, allocations: 12.03 kB / 0.9673 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3483, allocations: 3.938 kB / 0.9673 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3483, allocations: 0 / 0.9673 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/0.3525, allocations: 1.918 MB / 0.9692 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3525, allocations: 4 kB / 0.9692 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.3534, allocations: 175.9 kB / 0.9693 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.3534, allocations: 4 kB / 0.9693 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.3534, allocations: 11.98 kB / 0.9693 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.3534, allocations: 4 kB / 0.9694 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3535, allocations: 0 / 0.9694 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.357, allocations: 1.51 MB / 0.9708 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.3575, allocations: 235.9 kB / 0.9711 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.3577, allocations: 12.06 kB / 0.9711 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009287/0.3586, allocations: 123.8 kB / 0.9712 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3587, allocations: 31.95 kB / 0.9712 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.3588, allocations: 11.98 kB / 0.9712 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008301/0.3596, allocations: 0.499 MB / 0.9717 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3596, allocations: 0 / 0.9717 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001533/0.3612, allocations: 435.1 kB / 0.9721 GB, free: 5.625 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.0008149/0.362, allocations: 321.8 kB / 0.9724 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003604/0.3656, allocations: 1.292 MB / 0.9737 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3656, allocations: 0 / 0.9737 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.3668, allocations: 456.1 kB / 0.9741 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.3689, allocations: 344 kB / 0.9745 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.3762, allocations: 2.421 MB / 0.9768 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.377, allocations: 0.9664 MB / 0.9778 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.3774, allocations: 83.27 kB / 0.9778 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of SimCode: time 2.274e-06/0.3774, allocations: 0 / 0.9778 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.02985/0.4073, allocations: 15.31 MB / 0.9928 GB, free: 0.5352 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)