Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.007835/0.007835, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.425/1.425, allocations: 205.4 MB / 222.4 MB, free: 5.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.733/1.733, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005388/0.0005387, allocations: 20.17 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003317/0.2178, allocations: 2.706 MB / 0.7906 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.2209, allocations: 2.119 MB / 0.7926 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.2213, allocations: 4 kB / 0.7926 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2229, allocations: 474 kB / 0.7931 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.2234, allocations: 135.1 kB / 0.7932 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.2235, allocations: 51.97 kB / 0.7933 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005974/0.2241, allocations: 469.8 kB / 0.7937 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.2244, allocations: 123.9 kB / 0.7938 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.2246, allocations: 135.3 kB / 0.794 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.2249, allocations: 167.2 kB / 0.7941 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2249, allocations: 20 kB / 0.7941 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.795e-05/0.225, allocations: 20 kB / 0.7942 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2251, allocations: 83.61 kB / 0.7942 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.2253, allocations: 220.7 kB / 0.7944 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.2258, allocations: 0.5175 MB / 0.795 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2258, allocations: 0 / 0.795 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2258, allocations: 0 / 0.795 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.2258, allocations: 0 / 0.795 GB, free: 4.305 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001012/0.2269, allocations: 0.6463 MB / 0.7956 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2269, allocations: 8.031 kB / 0.7956 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.227, allocations: 52.38 kB / 0.7956 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.2275, allocations: 370.1 kB / 0.796 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2276, allocations: 16.81 kB / 0.796 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.2276, allocations: 24.38 kB / 0.796 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.228, allocations: 211.5 kB / 0.7962 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2281, allocations: 3.938 kB / 0.7962 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2281, allocations: 8 kB / 0.7962 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2281, allocations: 8 kB / 0.7963 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.2285, allocations: 173.6 kB / 0.7964 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2298, allocations: 0.8856 MB / 0.7973 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2303, allocations: 150.6 kB / 0.7974 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2305, allocations: 124.8 kB / 0.7975 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.2306, allocations: 3.938 kB / 0.7976 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2306, allocations: 30.56 kB / 0.7976 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.2306, allocations: 4 kB / 0.7976 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006113/0.2312, allocations: 276.1 kB / 0.7978 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2312, allocations: 55.41 kB / 0.7979 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.2317, allocations: 413.7 kB / 0.7983 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2318, allocations: 29.7 kB / 0.7983 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2319, allocations: 208.2 kB / 0.7985 GB, free: 440 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.232, allocations: 71.09 kB / 0.7986 GB, free: 368 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.232, allocations: 17.72 kB / 0.7986 GB, free: 344 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2322, allocations: 346.8 kB / 0.7989 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2324, allocations: 55.97 kB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2325, allocations: 71.89 kB / 0.7991 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.2328, allocations: 151.6 kB / 0.7992 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2328, allocations: 0 / 0.7992 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004074/0.2332, allocations: 213.2 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2333, allocations: 8 kB / 0.7994 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2333, allocations: 3.984 kB / 0.7994 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2333, allocations: 3.938 kB / 0.7994 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.2336, allocations: 59.91 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2336, allocations: 0 / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.2338, allocations: 31.73 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2338, allocations: 8 kB / 0.7995 GB, free: 15.39 MB / 0.6231 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001847/0.234, allocations: 162.5 kB / 0.7997 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.2341, allocations: 31.62 kB / 0.7997 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.649e-05/0.2342, allocations: 43.53 kB / 0.7997 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2342, allocations: 7.938 kB / 0.7998 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2342, allocations: 0 / 0.7998 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2342, allocations: 7.938 kB / 0.7998 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.2347, allocations: 373.3 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2347, allocations: 0 / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.2349, allocations: 51.97 kB / 0.8002 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2349, allocations: 0 / 0.8002 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.235, allocations: 11.94 kB / 0.8002 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.235, allocations: 3.938 kB / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.235, allocations: 0 / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.2356, allocations: 398.9 kB / 0.8006 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.2357, allocations: 116.6 kB / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.2358, allocations: 16 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.236, allocations: 15.98 kB / 0.8007 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.236, allocations: 7.984 kB / 0.8007 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.236, allocations: 4 kB / 0.8007 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003206/0.2364, allocations: 307.1 kB / 0.801 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2364, allocations: 0 / 0.801 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003007/0.2367, allocations: 71.84 kB / 0.8011 GB, free: 13.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.000127/0.2368, allocations: 109.7 kB / 0.8012 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.2372, allocations: 151 kB / 0.8013 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2372, allocations: 0 / 0.8013 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2374, allocations: 91.89 kB / 0.8014 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.238, allocations: 89.5 kB / 0.8015 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2394, allocations: 0.923 MB / 0.8024 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.2398, allocations: 0.807 MB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.2399, allocations: 30.97 kB / 0.8032 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.24, allocations: 27.38 kB / 0.8032 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.24, allocations: 0 / 0.8032 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of Templates: time 0.008088/0.2481, allocations: 3.697 MB / 0.8069 GB, free: 7.832 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: