Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00152/0.00152, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 279.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.2/1.2, allocations: 178.5 MB / 0.5079 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 99.84 kB / 0.6072 GB, free: 9.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2052, allocations: 89.14 MB / 0.6942 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00274/0.208, allocations: 1.423 MB / 0.6956 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004298/0.2123, allocations: 2.86 MB / 0.6984 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.2124, allocations: 0 / 0.6984 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.2124, allocations: 3.938 kB / 0.6984 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.2125, allocations: 19.84 kB / 0.6984 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.2161, allocations: 1.554 MB / 0.6999 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.2162, allocations: 43.78 kB / 0.7 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.2163, allocations: 0 / 0.7 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.2163, allocations: 19.94 kB / 0.7 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.2164, allocations: 19.86 kB / 0.7 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2164, allocations: 0 / 0.7 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.2184, allocations: 1.42 MB / 0.7014 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2184, allocations: 15.97 kB / 0.7014 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.2184, allocations: 11.88 kB / 0.7014 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.2199, allocations: 1.08 MB / 0.7025 GB, free: 7.531 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2199, allocations: 0 / 0.7025 GB, free: 7.531 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2199, allocations: 3.938 kB / 0.7025 GB, free: 7.527 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.2199, allocations: 0 / 0.7025 GB, free: 7.527 MB / 0.545 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.0006026/0.2205, allocations: 0.5146 MB / 0.703 GB, free: 6.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2206, allocations: 16.02 kB / 0.703 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.2206, allocations: 80.12 kB / 0.7031 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.2208, allocations: 247.6 kB / 0.7033 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.2209, allocations: 150.9 kB / 0.7035 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.221, allocations: 158.9 kB / 0.7036 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.64e-05/0.221, allocations: 109.1 kB / 0.7037 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.2211, allocations: 75.28 kB / 0.7038 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.2211, allocations: 150.6 kB / 0.7039 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.2212, allocations: 154.5 kB / 0.7041 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.149e-05/0.2213, allocations: 158.4 kB / 0.7042 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.2216, allocations: 473.9 kB / 0.7047 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.2217, allocations: 165.1 kB / 0.7048 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.2217, allocations: 84.14 kB / 0.7049 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.2218, allocations: 79.27 kB / 0.705 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.2218, allocations: 121.7 kB / 0.7051 GB, free: 4.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.2218, allocations: 0 / 0.7051 GB, free: 4.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.2219, allocations: 33.61 kB / 0.7051 GB, free: 4.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.222, allocations: 126.7 kB / 0.7053 GB, free: 4.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2221, allocations: 132 kB / 0.7054 GB, free: 4.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2222, allocations: 25.7 kB / 0.7054 GB, free: 4.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.2222, allocations: 96.05 kB / 0.7055 GB, free: 4.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.2222, allocations: 0 / 0.7055 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.2223, allocations: 21.7 kB / 0.7055 GB, free: 4.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2224, allocations: 314.8 kB / 0.7058 GB, free: 3.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.2224, allocations: 4 kB / 0.7058 GB, free: 3.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.2225, allocations: 8 kB / 0.7058 GB, free: 3.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.2225, allocations: 20.72 kB / 0.7059 GB, free: 3.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2225, allocations: 0 / 0.7059 GB, free: 3.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.2226, allocations: 49.64 kB / 0.7059 GB, free: 3.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2227, allocations: 4 kB / 0.7059 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2227, allocations: 0 / 0.7059 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2227, allocations: 12.05 kB / 0.7059 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2227, allocations: 0 / 0.7059 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2227, allocations: 0 / 0.7059 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.2228, allocations: 3.906 kB / 0.7059 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2228, allocations: 0 / 0.7059 GB, free: 3.77 MB / 0.545 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 0.0001101/0.2229, allocations: 185.1 kB / 0.7061 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.223, allocations: 108.9 kB / 0.7062 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.223, allocations: 124.6 kB / 0.7063 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-05/0.2231, allocations: 176.3 kB / 0.7065 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.399e-05/0.2232, allocations: 184.2 kB / 0.7067 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.738e-05/0.2233, allocations: 176.3 kB / 0.7068 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.2235, allocations: 413.2 kB / 0.7072 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/0.2236, allocations: 112.9 kB / 0.7073 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.2236, allocations: 108.9 kB / 0.7074 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-05/0.2237, allocations: 180.2 kB / 0.7076 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.2238, allocations: 176.3 kB / 0.7078 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.938e-05/0.2239, allocations: 184.2 kB / 0.708 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.229e-05/0.2239, allocations: 180.3 kB / 0.7081 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2241, allocations: 315.7 kB / 0.7084 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.2242, allocations: 189.9 kB / 0.7086 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.2243, allocations: 180.2 kB / 0.7088 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.2244, allocations: 109 kB / 0.7089 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.2244, allocations: 180.2 kB / 0.7091 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.2245, allocations: 113 kB / 0.7092 GB, free: 228 kB / 0.545 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.2246, allocations: 97.3 kB / 0.7093 GB, free: 132 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2246, allocations: 0 / 0.7093 GB, free: 132 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.3098/0.5344, allocations: 274.3 kB / 0.7095 GB, free: 50.11 MB / 0.545 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.00111/0.5355, allocations: 0.5115 MB / 0.71 GB, free: 49.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.5357, allocations: 39.95 kB / 0.7101 GB, free: 49.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5357, allocations: 0.7812 kB / 0.7101 GB, free: 49.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.5357, allocations: 0.9375 kB / 0.7101 GB, free: 49.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.536, allocations: 466.6 kB / 0.7105 GB, free: 49.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.5363, allocations: 261 kB / 0.7108 GB, free: 49.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.5364, allocations: 0.6829 MB / 0.7114 GB, free: 48.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-06/0.5364, allocations: 10.09 kB / 0.7114 GB, free: 48.56 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5364, allocations: 1.5 kB / 0.7114 GB, free: 48.56 MB / 0.545 GB Notification: Performance of Templates: time 0.006184/0.5426, allocations: 4.642 MB / 0.716 GB, free: 48.21 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)