Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.695/1.695, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009959/0.0009958, allocations: 187.8 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008364, allocations: 101.6 kB / 0.7808 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 12.53 kB / 0.9088 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7665, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.9573, allocations: 152 MB / 1.175 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.9577, allocations: 112.5 kB / 1.175 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05848/1.016, allocations: 22.22 MB / 1.197 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.783e-06/1.016, allocations: 0 / 1.197 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.016, allocations: 12 kB / 1.197 GB, free: 3.84 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001479/1.018, allocations: 0.8263 MB / 1.197 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.018, allocations: 8.031 kB / 1.197 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/1.018, allocations: 76 kB / 1.197 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/1.019, allocations: 449.7 kB / 1.198 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/1.019, allocations: 45.31 kB / 1.198 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/1.019, allocations: 52.22 kB / 1.198 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/1.02, allocations: 431 kB / 1.198 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.02, allocations: 4.188 kB / 1.198 GB, free: 1.879 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/1.02, allocations: 23.94 kB / 1.198 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.02, allocations: 12 kB / 1.198 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/1.02, allocations: 371.8 kB / 1.199 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/1.023, allocations: 1.544 MB / 1.2 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/1.023, allocations: 335.5 kB / 1.201 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/1.024, allocations: 365.7 kB / 1.201 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/1.024, allocations: 4 kB / 1.201 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/1.024, allocations: 34.56 kB / 1.201 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/1.024, allocations: 0 / 1.201 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.0009297/1.025, allocations: 0.5132 MB / 1.201 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/1.025, allocations: 55.41 kB / 1.202 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/1.025, allocations: 481.9 kB / 1.202 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.025, allocations: 33.7 kB / 1.202 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/1.026, allocations: 272.4 kB / 1.202 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.026, allocations: 149.8 kB / 1.202 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.026, allocations: 7.75 kB / 1.202 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.026, allocations: 362.8 kB / 1.203 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/1.026, allocations: 124.7 kB / 1.203 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.026, allocations: 134 kB / 1.203 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/1.027, allocations: 298.5 kB / 1.203 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.027, allocations: 0 / 1.203 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006496/1.028, allocations: 400.6 kB / 1.204 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.028, allocations: 7.938 kB / 1.204 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.028, allocations: 0.75 kB / 1.204 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.028, allocations: 4 kB / 1.204 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/1.028, allocations: 123.9 kB / 1.204 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.028, allocations: 11.91 kB / 1.204 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/1.028, allocations: 51.66 kB / 1.204 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/1.028, allocations: 8 kB / 1.204 GB, free: 12.1 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * 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.0002253/1.029, allocations: 193.8 kB / 1.204 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/1.029, allocations: 59.28 kB / 1.204 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/1.029, allocations: 61.73 kB / 1.204 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.029, allocations: 4 kB / 1.204 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.029, allocations: 0 / 1.204 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.029, allocations: 3.984 kB / 1.204 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/1.029, allocations: 0.5712 MB / 1.205 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.03, allocations: 1.438 kB / 1.205 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/1.03, allocations: 127.9 kB / 1.205 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.03, allocations: 7.938 kB / 1.205 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/1.03, allocations: 12 kB / 1.205 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.03, allocations: 0 / 1.205 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.03, allocations: 0 / 1.205 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/1.031, allocations: 0.6634 MB / 1.206 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.031, allocations: 136.4 kB / 1.206 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/1.031, allocations: 11.94 kB / 1.206 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/1.031, allocations: 23.98 kB / 1.206 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/1.032, allocations: 27.75 kB / 1.206 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.032, allocations: 8.938 kB / 1.206 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003966/1.032, allocations: 351.1 kB / 1.206 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/1.032, allocations: 0 / 1.206 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004593/1.032, allocations: 159.5 kB / 1.206 GB, free: 9.605 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0003953/1.033, allocations: 265.9 kB / 1.206 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005758/1.033, allocations: 331.7 kB / 1.207 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.033, allocations: 0 / 1.207 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/1.034, allocations: 187.8 kB / 1.207 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/1.034, allocations: 117.5 kB / 1.207 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/1.036, allocations: 1.436 MB / 1.208 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/1.037, allocations: 0.8707 MB / 1.209 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002145/1.037, allocations: 52.36 kB / 1.209 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/1.037, allocations: 35.44 kB / 1.209 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/1.037, allocations: 0 / 1.209 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of Templates: time 0.01415/1.051, allocations: 7.143 MB / 1.216 GB, free: 15.34 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)