Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.396/2.396, allocations: 284.8 MB / 297.3 MB, free: 6.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 176.9 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.2 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 95.52 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.475e-05, allocations: 4 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8432, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/1.107, allocations: 148.5 MB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004539/1.107, allocations: 113.6 kB / 1.115 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09747/1.205, allocations: 22.2 MB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.195e-06/1.205, allocations: 0 / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.537e-05/1.205, allocations: 12 kB / 1.137 GB, free: 13.68 MB / 0.7448 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.001687/1.207, allocations: 0.7514 MB / 1.138 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.207, allocations: 8.031 kB / 1.138 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/1.207, allocations: 71.16 kB / 1.138 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/1.208, allocations: 436.7 kB / 1.138 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/1.208, allocations: 39.06 kB / 1.138 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.208, allocations: 48 kB / 1.138 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.209, allocations: 410.5 kB / 1.139 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.209, allocations: 0 / 1.139 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/1.209, allocations: 16 kB / 1.139 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/1.209, allocations: 12 kB / 1.139 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009819/1.21, allocations: 332 kB / 1.139 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/1.214, allocations: 1.544 MB / 1.14 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/1.215, allocations: 320 kB / 1.141 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/1.215, allocations: 334 kB / 1.141 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/1.215, allocations: 8 kB / 1.141 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/1.215, allocations: 34.56 kB / 1.141 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 3.186e-06/1.215, allocations: 0 / 1.141 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.001009/1.216, allocations: 338.9 kB / 1.141 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.217, allocations: 59.34 kB / 1.141 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/1.217, allocations: 423.2 kB / 1.142 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/1.217, allocations: 37.69 kB / 1.142 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/1.218, allocations: 268.3 kB / 1.142 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/1.218, allocations: 157.8 kB / 1.142 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/1.218, allocations: 8 kB / 1.142 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.218, allocations: 358.8 kB / 1.143 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/1.219, allocations: 104.8 kB / 1.143 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/1.219, allocations: 111 kB / 1.143 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.219, allocations: 130.6 kB / 1.143 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.219, allocations: 0 / 1.143 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009969/1.22, allocations: 363.9 kB / 1.143 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.22, allocations: 4 kB / 1.143 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.22, allocations: 3.281 kB / 1.143 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.576e-05/1.22, allocations: 8 kB / 1.143 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.221, allocations: 127.8 kB / 1.143 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.221, allocations: 7.953 kB / 1.143 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/1.222, allocations: 51.66 kB / 1.144 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/1.222, allocations: 16 kB / 1.144 GB, free: 6.605 MB / 0.7448 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 () * 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.0001501/1.222, allocations: 119.7 kB / 1.144 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.222, allocations: 55.34 kB / 1.144 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/1.223, allocations: 60.88 kB / 1.144 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.223, allocations: 4 kB / 1.144 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.223, allocations: 0 / 1.144 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.223, allocations: 3.953 kB / 1.144 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/1.224, allocations: 0.5788 MB / 1.144 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.224, allocations: 0 / 1.144 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.225, allocations: 129.3 kB / 1.144 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.225, allocations: 0 / 1.144 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/1.225, allocations: 15.98 kB / 1.144 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.225, allocations: 0 / 1.144 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.225, allocations: 0 / 1.144 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/1.226, allocations: 0.6115 MB / 1.145 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/1.227, allocations: 140.4 kB / 1.145 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.227, allocations: 12 kB / 1.145 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/1.227, allocations: 19.98 kB / 1.145 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/1.227, allocations: 23.97 kB / 1.145 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/1.227, allocations: 4 kB / 1.145 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006752/1.228, allocations: 353.2 kB / 1.146 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.91e-07/1.228, allocations: 0 / 1.146 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007235/1.229, allocations: 151.6 kB / 1.146 GB, free: 4.258 MB / 0.7448 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 () * 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.0005086/1.229, allocations: 259.1 kB / 1.146 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008009/1.23, allocations: 296.2 kB / 1.146 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.23, allocations: 0 / 1.146 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/1.231, allocations: 155.9 kB / 1.146 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/1.232, allocations: 134.8 kB / 1.147 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/1.234, allocations: 0.9178 MB / 1.147 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/1.235, allocations: 0.8785 MB / 1.148 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003856/1.235, allocations: 60.34 kB / 1.148 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/1.235, allocations: 35.44 kB / 1.148 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/1.235, allocations: 0 / 1.148 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.02379/1.259, allocations: 7.338 MB / 1.156 GB, free: 10.31 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)