Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 288.4 MB / 303.7 MB, free: 8.875 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.0009915/0.0009915, allocations: 188.5 kB / 372.3 MB, free: 6.441 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.314/1.314, allocations: 205.4 MB / 0.631 GB, free: 14.41 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.0006948/0.0006949, allocations: 93.36 kB / 0.7444 GB, free: 63.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003811, allocations: 16 kB / 0.8675 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 115.3 MB / 0.9801 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001681/0.2194, allocations: 1.185 MB / 0.9813 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2207, allocations: 0.8741 MB / 0.9822 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.2207, allocations: 3.938 kB / 0.9822 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.2209, allocations: 43.81 kB / 0.9822 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.588e-05/0.221, allocations: 11.86 kB / 0.9822 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.2214, allocations: 167.7 kB / 0.9824 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.2215, allocations: 51.67 kB / 0.9824 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.2216, allocations: 0 / 0.9824 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.2216, allocations: 15.92 kB / 0.9824 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.2217, allocations: 19.86 kB / 0.9825 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.2217, allocations: 0 / 0.9825 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.222, allocations: 143.8 kB / 0.9826 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.222, allocations: 3.938 kB / 0.9826 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.222, allocations: 45.64 kB / 0.9826 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.2222, allocations: 80.09 kB / 0.9827 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2222, allocations: 3.938 kB / 0.9827 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2222, allocations: 0 / 0.9827 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2222, allocations: 0 / 0.9827 GB, free: 10.56 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.0003072/0.2225, allocations: 359.3 kB / 0.9831 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2225, allocations: 12.03 kB / 0.9831 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.2226, allocations: 84.11 kB / 0.9832 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2228, allocations: 263.4 kB / 0.9834 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.2229, allocations: 154.9 kB / 0.9836 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.2229, allocations: 154.9 kB / 0.9837 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.587e-05/0.223, allocations: 105.3 kB / 0.9838 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.223, allocations: 79.28 kB / 0.9839 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.2231, allocations: 150.6 kB / 0.984 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.2231, allocations: 154.6 kB / 0.9842 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.2232, allocations: 154.5 kB / 0.9843 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.2234, allocations: 461.9 kB / 0.9848 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.2235, allocations: 165.1 kB / 0.9849 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.2236, allocations: 88.12 kB / 0.985 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2236, allocations: 79.28 kB / 0.9851 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2236, allocations: 109.8 kB / 0.9852 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2236, allocations: 0 / 0.9852 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.26e-05/0.2237, allocations: 45.53 kB / 0.9852 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.2238, allocations: 126.7 kB / 0.9853 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2239, allocations: 132.2 kB / 0.9855 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2239, allocations: 25.7 kB / 0.9855 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.224, allocations: 96.05 kB / 0.9856 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-06/0.224, allocations: 3.938 kB / 0.9856 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.224, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.2241, allocations: 318.8 kB / 0.9859 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.2241, allocations: 4 kB / 0.9859 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.2241, allocations: 4 kB / 0.9859 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.2242, allocations: 12.86 kB / 0.9859 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2242, allocations: 4.031 kB / 0.9859 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.2243, allocations: 53.56 kB / 0.986 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2243, allocations: 4 kB / 0.986 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.2243, allocations: 4 kB / 0.986 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2244, allocations: 3.938 kB / 0.986 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2244, allocations: 0 / 0.986 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2244, allocations: 0 / 0.986 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.2244, allocations: 7.844 kB / 0.986 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.2244, allocations: 0 / 0.986 GB, free: 6.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.2245, allocations: 193.1 kB / 0.9862 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.2246, allocations: 112.9 kB / 0.9863 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.2246, allocations: 112.9 kB / 0.9864 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-05/0.2247, allocations: 184.3 kB / 0.9866 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/0.2247, allocations: 184.2 kB / 0.9867 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.243e-05/0.2248, allocations: 176.3 kB / 0.9869 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.225, allocations: 421.3 kB / 0.9873 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.2251, allocations: 105 kB / 0.9874 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.2251, allocations: 104.9 kB / 0.9875 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.2252, allocations: 184.2 kB / 0.9877 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.2252, allocations: 180.3 kB / 0.9879 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.403e-05/0.2253, allocations: 184.2 kB / 0.988 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.258e-05/0.2253, allocations: 180.3 kB / 0.9882 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.2255, allocations: 311.7 kB / 0.9885 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.2255, allocations: 189.9 kB / 0.9887 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.2256, allocations: 180.2 kB / 0.9888 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.2257, allocations: 109 kB / 0.989 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.2257, allocations: 180.2 kB / 0.9891 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.2258, allocations: 108.9 kB / 0.9892 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.2258, allocations: 101.1 kB / 0.9893 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2259, allocations: 0 / 0.9893 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002645/0.2261, allocations: 36 kB / 0.9894 GB, free: 3.297 MB / 0.7136 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 (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.0002581/0.2264, allocations: 218.4 kB / 0.9896 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.2265, allocations: 33.7 kB / 0.9896 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2265, allocations: 0 / 0.9896 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.2265, allocations: 4 kB / 0.9896 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.2269, allocations: 0.5418 MB / 0.9901 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.2273, allocations: 239.8 kB / 0.9904 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2275, allocations: 0.6809 MB / 0.991 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.769e-05/0.2275, allocations: 4 kB / 0.991 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.2275, allocations: 11.44 kB / 0.991 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2275, allocations: 0 / 0.991 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.003462/0.231, allocations: 1.484 MB / 0.9925 GB, free: 20 kB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)