Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 93.98 kB / 16.67 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 181.1 kB / 17.58 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7213/0.7213, allocations: 115.5 MB / 408.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003731, allocations: 8 kB / 496.6 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4788, allocations: 77.52 MB / 0.5606 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.07867/0.5575, allocations: 84.06 MB / 0.6427 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0383/0.5959, allocations: 25.12 MB / 0.6672 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006332/0.6023, allocations: 107.3 kB / 0.6673 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006154/0.6084, allocations: 1.531 MB / 0.6688 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.6219, allocations: 3.727 MB / 0.6725 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.6334, allocations: 3.68 MB / 0.6761 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01488/0.6483, allocations: 10.75 MB / 0.6866 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005329/0.6537, allocations: 2.306 MB / 0.6888 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/0.6604, allocations: 2.407 MB / 0.6912 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004897/0.6653, allocations: 2.298 MB / 0.6934 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.6665, allocations: 144 kB / 0.6936 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008703/0.6752, allocations: 3.19 MB / 0.6967 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.6767, allocations: 0.6299 MB / 0.6973 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003924/0.6807, allocations: 1.673 MB / 0.6989 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009168/0.6899, allocations: 5.626 MB / 0.7044 GB, free: 15.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6899, allocations: 4 kB / 0.7044 GB, free: 15.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.547e-06/0.6899, allocations: 0 / 0.7044 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001995/0.6901, allocations: 0 / 0.7044 GB, free: 15.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.008083/0.6982, allocations: 3.274 MB / 0.7076 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6983, allocations: 11.97 kB / 0.7076 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.6998, allocations: 371.8 kB / 0.708 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.7057, allocations: 2.59 MB / 0.7105 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.7059, allocations: 164.1 kB / 0.7107 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006137/0.7066, allocations: 223.9 kB / 0.7109 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/0.7117, allocations: 2.182 MB / 0.713 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-05/0.7118, allocations: 7.938 kB / 0.713 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.7121, allocations: 95.98 kB / 0.7131 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.7121, allocations: 48 kB / 0.7132 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.7157, allocations: 1.675 MB / 0.7148 GB, free: 4.859 MB / 0.545 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.01621/0.7319, allocations: 9.296 MB / 0.7239 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.7339, allocations: 1.195 MB / 0.725 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.7351, allocations: 0.8296 MB / 0.7258 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002624/0.7378, allocations: 2.922 MB / 0.7287 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.7378, allocations: 51.88 kB / 0.7287 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=148): time 3.587e-06/0.7379, allocations: 0 / 0.7287 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=148): time 0.00614/0.744, allocations: 2.755 MB / 0.7314 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.7441, allocations: 98.36 kB / 0.7315 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/0.749, allocations: 2.255 MB / 0.7337 GB, free: 192 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.7493, allocations: 61.7 kB / 0.7338 GB, free: 124 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7505, allocations: 1.189 MB / 0.735 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000673/0.7511, allocations: 0.5121 MB / 0.7355 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.7515, allocations: 165.6 kB / 0.7356 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.7516, allocations: 305.1 kB / 0.7359 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.7527, allocations: 0.5701 MB / 0.7365 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.7542, allocations: 0.9374 MB / 0.7374 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.7566, allocations: 1.48 MB / 0.7388 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.7566, allocations: 4 kB / 0.7388 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004544/0.7611, allocations: 2.135 MB / 0.7409 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.7614, allocations: 287.7 kB / 0.7412 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.7614, allocations: 12 kB / 0.7412 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.7625, allocations: 269 kB / 0.7415 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.7638, allocations: 383.5 kB / 0.7418 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3425/1.106, allocations: 7.063 MB / 0.7487 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.11, allocations: 294.2 kB / 0.749 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/1.11, allocations: 77.62 kB / 0.7491 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.11, allocations: 4.156 kB / 0.7491 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004277/1.114, allocations: 1.814 MB / 0.7508 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/1.114, allocations: 10.31 kB / 0.7509 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/1.115, allocations: 210.2 kB / 0.7511 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.117, allocations: 395 kB / 0.7514 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006471/1.123, allocations: 9.116 MB / 0.7603 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/1.126, allocations: 275.8 kB / 0.7606 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/1.127, allocations: 76.22 kB / 0.7607 GB, free: 150.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002162/1.129, allocations: 0.6506 MB / 0.7613 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.13, allocations: 257.2 kB / 0.7616 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/1.135, allocations: 2.027 MB / 0.7635 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-05/1.135, allocations: 19.17 kB / 0.7636 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/1.135, allocations: 6.844 kB / 0.7636 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003019/1.138, allocations: 1.647 MB / 0.7652 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.15, allocations: 4.363 MB / 0.7694 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.15, allocations: 1.719 kB / 0.7694 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.151, allocations: 272.3 kB / 0.7697 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/1.152, allocations: 217.8 kB / 0.7699 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/1.152, allocations: 41.67 kB / 0.7699 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/1.157, allocations: 7.068 MB / 0.7768 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.157, allocations: 6.031 kB / 0.7768 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005929/1.163, allocations: 2.643 MB / 0.7794 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/1.165, allocations: 0.5932 MB / 0.78 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008785/1.166, allocations: 28.12 kB / 0.78 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.168, allocations: 141.5 kB / 0.7802 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.168, allocations: 108.4 kB / 0.7803 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.169, allocations: 57.72 kB / 0.7803 GB, free: 138 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004087/1.173, allocations: 1.517 MB / 0.7818 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.173, allocations: 0 / 0.7818 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009465/1.182, allocations: 1.873 MB / 0.7836 GB, free: 137.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003905/1.186, allocations: 1.096 MB / 0.7847 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007824/1.194, allocations: 3.739 MB / 0.7884 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.194, allocations: 1.062 kB / 0.7884 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.196, allocations: 1.231 MB / 0.7896 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/1.207, allocations: 1.319 MB / 0.7908 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.219, allocations: 6.382 MB / 0.7971 GB, free: 130 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.221, allocations: 1.735 MB / 0.7988 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.222, allocations: 221.8 kB / 0.799 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/1.222, allocations: 0 / 0.799 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1243/1.347, allocations: 128.8 MB / 0.9248 GB, free: 5.516 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)