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.0008398/0.00084, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.0009461, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.592/1.592, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0006843/0.0006845, allocations: 16.12 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2145, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001565/0.2162, allocations: 1.178 MB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2174, allocations: 0.8663 MB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.2174, allocations: 4 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2176, allocations: 43.81 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.498e-05/0.2176, allocations: 15.86 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.2181, allocations: 167 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.265e-05/0.2181, allocations: 43.75 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.2182, allocations: 11.92 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.2182, allocations: 11.94 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.49e-05/0.2183, allocations: 11.94 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2183, allocations: 8 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.2185, allocations: 139.8 kB / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.2186, allocations: 4 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2186, allocations: 37.64 kB / 0.7898 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.2187, allocations: 76.09 kB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2187, allocations: 0 / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2187, allocations: 4 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2187, allocations: 0 / 0.7898 GB, free: 9.277 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.0002953/0.219, allocations: 367 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2191, allocations: 12.03 kB / 0.7902 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.2191, allocations: 83.19 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.2193, allocations: 262.1 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.2194, allocations: 154.5 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.2195, allocations: 154.6 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.059e-05/0.2195, allocations: 104.9 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2195, allocations: 83.22 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.2196, allocations: 150.6 kB / 0.7912 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.2197, allocations: 150.6 kB / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.2197, allocations: 158.5 kB / 0.7914 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.22, allocations: 469.9 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.2201, allocations: 169.1 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.2201, allocations: 84.08 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2201, allocations: 75.28 kB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.2202, allocations: 109.8 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2202, allocations: 0 / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.826e-05/0.2203, allocations: 33.7 kB / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2203, allocations: 126.7 kB / 0.7925 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2204, allocations: 136.9 kB / 0.7926 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2205, allocations: 29.7 kB / 0.7926 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.2205, allocations: 88.12 kB / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2205, allocations: 0 / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.2205, allocations: 0 / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.2206, allocations: 322.8 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.2207, allocations: 11.92 kB / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.2207, allocations: 8 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.2207, allocations: 4 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2207, allocations: 0 / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001087/0.2208, allocations: 45.61 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2209, allocations: 4 kB / 0.7931 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.2209, allocations: 7.984 kB / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2209, allocations: 0 / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.2209, allocations: 0 / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2209, allocations: 0 / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.2209, allocations: 8 kB / 0.7931 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.221, allocations: 4 kB / 0.7931 GB, free: 5.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/0.221, allocations: 185.7 kB / 0.7933 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.2211, allocations: 112.8 kB / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.2212, allocations: 112.8 kB / 0.7935 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/0.2212, allocations: 184.2 kB / 0.7937 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/0.2213, allocations: 184.3 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/0.2213, allocations: 184.1 kB / 0.794 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2215, allocations: 421.2 kB / 0.7944 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/0.2216, allocations: 105 kB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.2216, allocations: 108.9 kB / 0.7946 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.682e-05/0.2217, allocations: 180.3 kB / 0.7948 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.2217, allocations: 180.3 kB / 0.795 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.073e-05/0.2218, allocations: 184.2 kB / 0.7952 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.841e-05/0.2218, allocations: 180.2 kB / 0.7953 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2219, allocations: 303.8 kB / 0.7956 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.222, allocations: 194 kB / 0.7958 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.2221, allocations: 188.2 kB / 0.796 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.2222, allocations: 101 kB / 0.7961 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2222, allocations: 180.2 kB / 0.7962 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.2222, allocations: 101 kB / 0.7963 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.2223, allocations: 99.27 kB / 0.7964 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2223, allocations: 8 kB / 0.7964 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002562/0.2226, allocations: 31.98 kB / 0.7965 GB, free: 2.027 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 (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.0002353/0.2228, allocations: 218.4 kB / 0.7967 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.2229, allocations: 41.69 kB / 0.7967 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2229, allocations: 7.938 kB / 0.7967 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.2229, allocations: 0 / 0.7967 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2233, allocations: 0.5288 MB / 0.7972 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.2236, allocations: 231.8 kB / 0.7975 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2238, allocations: 0.6926 MB / 0.7981 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.2238, allocations: 7.875 kB / 0.7982 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.2239, allocations: 11.44 kB / 0.7982 GB, free: 232 kB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2239, allocations: 0 / 0.7982 GB, free: 232 kB / 0.6075 GB Notification: Performance of Templates: time 0.003337/0.2272, allocations: 1.469 MB / 0.7996 GB, free: 14.78 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: