Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 194 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 91.59 kB / 0.748 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 60.09 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002995/0.2501, allocations: 1.539 MB / 0.9837 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2517, allocations: 0.963 MB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.2518, allocations: 3.938 kB / 0.9847 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.2521, allocations: 47.81 kB / 0.9847 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.2521, allocations: 19.84 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.2527, allocations: 163.7 kB / 0.9849 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.424e-05/0.2527, allocations: 47.67 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.2528, allocations: 4 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.2529, allocations: 27.86 kB / 0.985 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.776e-05/0.2529, allocations: 7.938 kB / 0.985 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2529, allocations: 4 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.2533, allocations: 143.8 kB / 0.9851 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.2533, allocations: 11.94 kB / 0.9851 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2533, allocations: 11.88 kB / 0.9851 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2535, allocations: 131.9 kB / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2535, allocations: 0 / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2535, allocations: 4 kB / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.2536, allocations: 0 / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003679/0.2539, allocations: 375.1 kB / 0.9856 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.254, allocations: 8.031 kB / 0.9856 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.2541, allocations: 88.12 kB / 0.9857 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2543, allocations: 259.5 kB / 0.986 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.2543, allocations: 150.9 kB / 0.9861 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.2544, allocations: 158.9 kB / 0.9863 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.2544, allocations: 105.3 kB / 0.9864 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.2545, allocations: 75.28 kB / 0.9864 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.2545, allocations: 150.6 kB / 0.9866 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.2546, allocations: 154.5 kB / 0.9867 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.205e-05/0.2546, allocations: 158.5 kB / 0.9869 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2549, allocations: 461.9 kB / 0.9873 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.255, allocations: 169.1 kB / 0.9875 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.255, allocations: 84.12 kB / 0.9876 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2551, allocations: 79.22 kB / 0.9876 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.2551, allocations: 121.7 kB / 0.9878 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2551, allocations: 0 / 0.9878 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.946e-05/0.2552, allocations: 37.66 kB / 0.9878 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.2553, allocations: 126.7 kB / 0.9879 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2554, allocations: 133.8 kB / 0.988 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2554, allocations: 25.7 kB / 0.9881 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2555, allocations: 88.12 kB / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.2555, allocations: 4 kB / 0.9882 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2555, allocations: 17.72 kB / 0.9882 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2557, allocations: 314.8 kB / 0.9885 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.2557, allocations: 11.98 kB / 0.9885 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.2557, allocations: 0 / 0.9885 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.2558, allocations: 16.8 kB / 0.9885 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2558, allocations: 0 / 0.9885 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/0.2559, allocations: 53.53 kB / 0.9885 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2559, allocations: 6.25 kB / 0.9886 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2559, allocations: 7.938 kB / 0.9886 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2559, allocations: 0 / 0.9886 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2559, allocations: 4 kB / 0.9886 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.256, allocations: 0 / 0.9886 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.256, allocations: 3.938 kB / 0.9886 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.256, allocations: 0 / 0.9886 GB, free: 3.641 MB / 0.7136 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/0.2561, allocations: 189.1 kB / 0.9887 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.2562, allocations: 112.8 kB / 0.9889 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.2562, allocations: 116.8 kB / 0.989 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-05/0.2563, allocations: 180.3 kB / 0.9891 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-05/0.2563, allocations: 180.2 kB / 0.9893 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/0.2564, allocations: 180.4 kB / 0.9895 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.2566, allocations: 417.2 kB / 0.9899 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.2567, allocations: 109 kB / 0.99 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.2567, allocations: 108.9 kB / 0.9901 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.2567, allocations: 180.2 kB / 0.9903 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.2568, allocations: 176.3 kB / 0.9904 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.563e-05/0.2569, allocations: 188.2 kB / 0.9906 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.874e-05/0.2569, allocations: 176.3 kB / 0.9908 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2573, allocations: 0.8647 MB / 0.9916 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.2574, allocations: 186 kB / 0.9918 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.2575, allocations: 180.2 kB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.2575, allocations: 108.9 kB / 0.9921 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.2576, allocations: 180.3 kB / 0.9922 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.2577, allocations: 108.9 kB / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.2577, allocations: 103.2 kB / 0.9924 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2577, allocations: 0 / 0.9924 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004165/0.2582, allocations: 31.94 kB / 0.9925 GB, free: 15.37 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002939/0.2585, allocations: 222.4 kB / 0.9927 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.2586, allocations: 37.7 kB / 0.9927 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2586, allocations: 0 / 0.9927 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2586, allocations: 0 / 0.9927 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.2591, allocations: 0.5289 MB / 0.9932 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.2595, allocations: 244.6 kB / 0.9935 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2597, allocations: 0.6809 MB / 0.9941 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.2597, allocations: 4.25 kB / 0.9941 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/0.2597, allocations: 11.44 kB / 0.9942 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.2598, allocations: 0 / 0.9942 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.003635/0.2634, allocations: 1.511 MB / 0.9956 GB, free: 12.07 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)