Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.826/1.826, allocations: 297.8 MB / 313.7 MB, free: 64 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.001059/0.001059, allocations: 184.5 kB / 384.6 MB, free: 10.78 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.405/1.405, allocations: 223.2 MB / 0.6626 GB, free: 4.246 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.000899/0.0008997, allocations: 101.2 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 21.94 kB / 0.9088 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7355, allocations: 120.3 MB / 1.026 GB, free: 56.04 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.9311, allocations: 149.8 MB / 1.173 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.9314, allocations: 116.4 kB / 1.173 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05019/0.9816, allocations: 18.22 MB / 1.191 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9817, allocations: 0 / 1.191 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.9817, allocations: 8.219 kB / 1.191 GB, free: 9.91 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001086/0.9828, allocations: 0.6546 MB / 1.191 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.9828, allocations: 8.031 kB / 1.191 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.983, allocations: 44.38 kB / 1.191 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.9835, allocations: 378.1 kB / 1.192 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.9836, allocations: 12.81 kB / 1.192 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.9836, allocations: 20.38 kB / 1.192 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.9841, allocations: 203.8 kB / 1.192 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.9841, allocations: 192 / 1.192 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.9841, allocations: 9.562 kB / 1.192 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.9842, allocations: 11.98 kB / 1.192 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.9846, allocations: 177.6 kB / 1.192 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.9859, allocations: 0.8711 MB / 1.193 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.9862, allocations: 163.9 kB / 1.193 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.9865, allocations: 118.7 kB / 1.193 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.9865, allocations: 5.406 kB / 1.193 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.9865, allocations: 38.55 kB / 1.193 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.9865, allocations: 0 / 1.193 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0006716/0.9872, allocations: 266.4 kB / 1.193 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.9873, allocations: 63.28 kB / 1.193 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.9878, allocations: 409.7 kB / 1.194 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.9878, allocations: 29.7 kB / 1.194 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.988, allocations: 212.1 kB / 1.194 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.988, allocations: 59.11 kB / 1.194 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.9881, allocations: 0 / 1.194 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.9882, allocations: 350.8 kB / 1.194 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.9884, allocations: 63.97 kB / 1.195 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.9885, allocations: 59.95 kB / 1.195 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.9888, allocations: 144.4 kB / 1.195 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9888, allocations: 0 / 1.195 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004033/0.9892, allocations: 218.8 kB / 1.195 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.9893, allocations: 5.406 kB / 1.195 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.9893, allocations: 4 kB / 1.195 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9893, allocations: 4 kB / 1.195 GB, free: 5.145 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.9896, allocations: 64.77 kB / 1.195 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.9896, allocations: 0 / 1.195 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.9898, allocations: 23.83 kB / 1.195 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.9898, allocations: 8 kB / 1.195 GB, free: 5.051 MB / 0.7605 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 (20): * Single equations (assignments): 20 * 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.000181/0.99, allocations: 170.1 kB / 1.195 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.9901, allocations: 35.53 kB / 1.195 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.9902, allocations: 39.59 kB / 1.195 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.9902, allocations: 3.938 kB / 1.195 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.9902, allocations: 0 / 1.195 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.9902, allocations: 4 kB / 1.195 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.9907, allocations: 377.8 kB / 1.196 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9907, allocations: 0 / 1.196 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.991, allocations: 56.97 kB / 1.196 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.991, allocations: 0 / 1.196 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.991, allocations: 5.969 kB / 1.196 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.991, allocations: 7.938 kB / 1.196 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.991, allocations: 7.875 kB / 1.196 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.9917, allocations: 392.3 kB / 1.196 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.9918, allocations: 116.7 kB / 1.196 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.9919, allocations: 4 kB / 1.196 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.992, allocations: 24.67 kB / 1.196 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.9921, allocations: 13.02 kB / 1.196 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.9921, allocations: 4 kB / 1.196 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003726/0.9925, allocations: 303.1 kB / 1.197 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9925, allocations: 0 / 1.197 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003688/0.9929, allocations: 79.84 kB / 1.197 GB, free: 3.352 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0004388/0.9933, allocations: 265.2 kB / 1.197 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.9937, allocations: 152.4 kB / 1.197 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9937, allocations: 4 kB / 1.197 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.9939, allocations: 87.84 kB / 1.197 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.9945, allocations: 87.91 kB / 1.197 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.9959, allocations: 0.8903 MB / 1.198 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.9964, allocations: 0.7914 MB / 1.199 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.9965, allocations: 37.25 kB / 1.199 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.9966, allocations: 23.44 kB / 1.199 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of SimCode: time 6.52e-07/0.9966, allocations: 3.75 kB / 1.199 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of Templates: time 0.01081/1.007, allocations: 5.297 MB / 1.204 GB, free: 11.89 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)