Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4833/0.4833, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000986/0.000986, allocations: 102.5 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.807e-05, allocations: 4 kB / 0.4897 GB, free: 5.316 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3786, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/1.1, allocations: 376.6 MB / 0.928 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.1, allocations: 122.3 kB / 0.9281 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.213/3.314, allocations: 491.1 MB / 1.408 GB, free: 73.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/3.314, allocations: 0 / 1.408 GB, free: 73.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001941/3.314, allocations: 44.44 kB / 1.408 GB, free: 73.19 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004853/3.319, allocations: 1.935 MB / 1.41 GB, free: 72.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/3.319, allocations: 14.33 kB / 1.41 GB, free: 72.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/3.319, allocations: 205.3 kB / 1.41 GB, free: 72.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/3.323, allocations: 1.711 MB / 1.412 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/3.323, allocations: 79.52 kB / 1.412 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/3.323, allocations: 110.9 kB / 1.412 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/3.325, allocations: 1.055 MB / 1.413 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/3.325, allocations: 15.02 kB / 1.413 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/3.325, allocations: 40.72 kB / 1.413 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/3.325, allocations: 25.56 kB / 1.413 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/3.326, allocations: 0.7769 MB / 1.414 GB, free: 71.93 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.007105/3.333, allocations: 6.474 MB / 1.42 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/3.334, allocations: 0.543 MB / 1.42 GB, free: 68.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/3.334, allocations: 339.3 kB / 1.421 GB, free: 68.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008637/3.335, allocations: 1.27 MB / 1.422 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/3.335, allocations: 45.73 kB / 1.422 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 3.777e-06/3.335, allocations: 0 / 1.422 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.00133/3.337, allocations: 0.7204 MB / 1.423 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/3.337, allocations: 88.02 kB / 1.423 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/3.338, allocations: 1.355 MB / 1.424 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/3.338, allocations: 40.89 kB / 1.424 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/3.339, allocations: 0.7224 MB / 1.425 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/3.339, allocations: 243.4 kB / 1.425 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/3.339, allocations: 20.06 kB / 1.425 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/3.339, allocations: 340.9 kB / 1.425 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/3.34, allocations: 262.1 kB / 1.426 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/3.34, allocations: 475.9 kB / 1.426 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/3.341, allocations: 342.8 kB / 1.426 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/3.341, allocations: 3.969 kB / 1.426 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001489/3.342, allocations: 0.9653 MB / 1.427 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002925/3.342, allocations: 1.355 MB / 1.429 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/3.342, allocations: 11.17 kB / 1.429 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/3.343, allocations: 74.31 kB / 1.429 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/3.343, allocations: 179 kB / 1.429 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/3.345, allocations: 2.966 MB / 1.432 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/3.346, allocations: 139.1 kB / 1.432 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/3.347, allocations: 40 kB / 1.432 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/3.347, allocations: 4.562 kB / 1.432 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/3.348, allocations: 0.7959 MB / 1.433 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/3.348, allocations: 10.81 kB / 1.433 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/3.348, allocations: 69.94 kB / 1.433 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/3.348, allocations: 179.5 kB / 1.433 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/3.35, allocations: 2.947 MB / 1.436 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/3.351, allocations: 132.2 kB / 1.436 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/3.351, allocations: 38.09 kB / 1.436 GB, free: 58.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002135/3.352, allocations: 159.4 kB / 1.436 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/3.352, allocations: 161.4 kB / 1.436 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/3.354, allocations: 0.9749 MB / 1.437 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/3.354, allocations: 10.78 kB / 1.437 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/3.354, allocations: 3.938 kB / 1.437 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009584/3.355, allocations: 0.771 MB / 1.438 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/3.359, allocations: 2.643 MB / 1.441 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/3.359, allocations: 3.844 kB / 1.441 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/3.359, allocations: 137.2 kB / 1.441 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/3.36, allocations: 68.23 kB / 1.441 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/3.36, allocations: 20.62 kB / 1.441 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/3.362, allocations: 2.974 MB / 1.444 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/3.362, allocations: 3.594 kB / 1.444 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/3.364, allocations: 1.582 MB / 1.445 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/3.366, allocations: 367 kB / 1.446 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/3.366, allocations: 18.75 kB / 1.446 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/3.367, allocations: 58.95 kB / 1.446 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/3.367, allocations: 63.28 kB / 1.446 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/3.367, allocations: 33.16 kB / 1.446 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001666/3.369, allocations: 1.073 MB / 1.447 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/3.369, allocations: 0 / 1.447 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004026/3.373, allocations: 1.202 MB / 1.448 GB, free: 53.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002736/3.375, allocations: 1.253 MB / 1.449 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002288/3.378, allocations: 1.695 MB / 1.451 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/3.378, allocations: 0 / 1.451 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/3.378, allocations: 0.586 MB / 1.452 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/3.382, allocations: 0.797 MB / 1.452 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/3.386, allocations: 2.301 MB / 1.455 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/3.386, allocations: 1.311 MB / 1.456 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00187/3.388, allocations: 0.4993 MB / 1.456 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/3.389, allocations: 97.92 kB / 1.457 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/3.389, allocations: 5.656 kB / 1.457 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.06354/3.452, allocations: 43.69 MB / 1.499 GB, free: 48.77 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)