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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 185.6 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 75.39 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2188, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002583/0.2214, allocations: 1.485 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2227, allocations: 0.9404 MB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.2228, allocations: 4 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.223, allocations: 47.75 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.223, allocations: 15.86 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.2236, allocations: 198.2 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.438e-05/0.2236, allocations: 43.67 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.2237, allocations: 7.984 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.2238, allocations: 23.86 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.2238, allocations: 11.94 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2238, allocations: 4 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.2242, allocations: 167.8 kB / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2242, allocations: 7.938 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.2242, allocations: 15.88 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.2244, allocations: 123.7 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2244, allocations: 4 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2244, allocations: 0 / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.2245, allocations: 0 / 0.7871 GB, free: 9.652 MB / 0.6075 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.0003227/0.2248, allocations: 371.1 kB / 0.7875 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2248, allocations: 12.03 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.2249, allocations: 80.22 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.2251, allocations: 272.2 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.2252, allocations: 150.9 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.2252, allocations: 154.9 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.2253, allocations: 105.3 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.2253, allocations: 79.28 kB / 0.7883 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.2254, allocations: 154.6 kB / 0.7885 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.2254, allocations: 150.6 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.2255, allocations: 154.5 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.2258, allocations: 465.9 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.466e-05/0.2258, allocations: 169.1 kB / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.2259, allocations: 80.14 kB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2259, allocations: 75.28 kB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.226, allocations: 117.8 kB / 0.7896 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.226, allocations: 0 / 0.7896 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.011e-05/0.226, allocations: 41.55 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2261, allocations: 126.7 kB / 0.7898 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2262, allocations: 136.5 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.2262, allocations: 25.7 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.2263, allocations: 88.12 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2263, allocations: 0 / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.2263, allocations: 21.72 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2265, allocations: 314.8 kB / 0.7903 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.2265, allocations: 8 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.2265, allocations: 3.984 kB / 0.7904 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.2265, allocations: 20.91 kB / 0.7904 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2265, allocations: 0 / 0.7904 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.2267, allocations: 49.48 kB / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2267, allocations: 4 kB / 0.7904 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.2267, allocations: 3.984 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2267, allocations: 4 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2267, allocations: 0 / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2267, allocations: 4.062 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.2268, allocations: 7.875 kB / 0.7904 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2268, allocations: 0 / 0.7904 GB, free: 6.043 MB / 0.6075 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.461e-05/0.2269, allocations: 189.1 kB / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.2269, allocations: 116.8 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.227, allocations: 112.7 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.199e-05/0.2271, allocations: 188.2 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.415e-05/0.2271, allocations: 184.2 kB / 0.7912 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/0.2272, allocations: 176.3 kB / 0.7914 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.2274, allocations: 421.1 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/0.2275, allocations: 101 kB / 0.7919 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2275, allocations: 108.9 kB / 0.792 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.863e-05/0.2276, allocations: 184.2 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.2276, allocations: 180.3 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.233e-05/0.2277, allocations: 180.2 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.123e-05/0.2278, allocations: 180.2 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.2279, allocations: 307.8 kB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.228, allocations: 189.9 kB / 0.7931 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.2281, allocations: 188.2 kB / 0.7933 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.2281, allocations: 104.9 kB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.2282, allocations: 184.3 kB / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.2282, allocations: 104.9 kB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.237e-05/0.2283, allocations: 101.9 kB / 0.7938 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2283, allocations: 0 / 0.7938 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002569/0.2286, allocations: 35.98 kB / 0.7938 GB, free: 2.355 MB / 0.6075 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.0002599/0.2288, allocations: 214.4 kB / 0.794 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.2289, allocations: 37.69 kB / 0.7941 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2289, allocations: 0 / 0.7941 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.2289, allocations: 4 kB / 0.7941 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.2293, allocations: 471.6 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.2296, allocations: 234.8 kB / 0.7947 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2299, allocations: 0.6846 MB / 0.7954 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.2299, allocations: 0 / 0.7954 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.2299, allocations: 11.44 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.23, allocations: 0 / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of Templates: time 0.00353/0.2335, allocations: 1.502 MB / 0.7969 GB, free: 15.16 MB / 0.6231 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)