Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 447.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009374, allocations: 92.33 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 267.8 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 14.33 kB / 0.6929 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5831/0.7602, allocations: 117.2 MB / 0.8882 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.7606, allocations: 118.2 kB / 0.8883 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04939/0.81, allocations: 18.21 MB / 0.9061 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/0.81, allocations: 0 / 0.9061 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.81, allocations: 11.47 kB / 0.9061 GB, free: 20.24 MB / 0.5417 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.0008921/0.8109, allocations: 0.6519 MB / 0.9067 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.811, allocations: 8 kB / 0.9067 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.8111, allocations: 49.38 kB / 0.9068 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.8116, allocations: 364.7 kB / 0.9071 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8116, allocations: 12.19 kB / 0.9071 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.8117, allocations: 21.78 kB / 0.9072 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.8121, allocations: 202.1 kB / 0.9073 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8121, allocations: 0 / 0.9073 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.8121, allocations: 9.219 kB / 0.9074 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.8121, allocations: 5.781 kB / 0.9074 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.8126, allocations: 172.9 kB / 0.9075 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.8138, allocations: 0.8814 MB / 0.9084 GB, free: 19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.8141, allocations: 159.7 kB / 0.9085 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.8141, allocations: 2.062 kB / 0.9085 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.8142, allocations: 44.39 kB / 0.9086 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.8142, allocations: 0 / 0.9086 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006268/0.8148, allocations: 267 kB / 0.9088 GB, free: 18.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.8149, allocations: 53.81 kB / 0.9089 GB, free: 18.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.8154, allocations: 368.5 kB / 0.9092 GB, free: 18.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.8154, allocations: 30.61 kB / 0.9093 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.8156, allocations: 206 kB / 0.9095 GB, free: 18.56 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.8156, allocations: 66.5 kB / 0.9095 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.8156, allocations: 1 kB / 0.9095 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.8157, allocations: 353.2 kB / 0.9099 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.8159, allocations: 59.92 kB / 0.9099 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.816, allocations: 64.08 kB / 0.91 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.8162, allocations: 70.33 kB / 0.9101 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8162, allocations: 5.312 kB / 0.9101 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003784/0.8166, allocations: 211.6 kB / 0.9103 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8166, allocations: 10.34 kB / 0.9103 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8166, allocations: 0 / 0.9103 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8166, allocations: 1.312 kB / 0.9103 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.8169, allocations: 60.05 kB / 0.9103 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.8169, allocations: 4.328 kB / 0.9103 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.8171, allocations: 26.2 kB / 0.9104 GB, free: 18.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.8171, allocations: 2.688 kB / 0.9104 GB, free: 18.12 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.8173, allocations: 166.5 kB / 0.9105 GB, free: 18.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.8173, allocations: 43.95 kB / 0.9106 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.8174, allocations: 40.2 kB / 0.9106 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8174, allocations: 1.688 kB / 0.9106 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.8175, allocations: 1.75 kB / 0.9106 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8175, allocations: 3.938 kB / 0.9106 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.8179, allocations: 374.8 kB / 0.911 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8179, allocations: 3.938 kB / 0.911 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.8182, allocations: 56.55 kB / 0.911 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8182, allocations: 5.422 kB / 0.911 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.8182, allocations: 6.578 kB / 0.911 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8182, allocations: 1.656 kB / 0.911 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8182, allocations: 0 / 0.911 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.8188, allocations: 395.3 kB / 0.9114 GB, free: 17.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.8189, allocations: 125.6 kB / 0.9115 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.8189, allocations: 5.469 kB / 0.9115 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.8191, allocations: 10.47 kB / 0.9115 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.8192, allocations: 15.64 kB / 0.9116 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.8192, allocations: 6.375 kB / 0.9116 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003041/0.8195, allocations: 301.3 kB / 0.9119 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8195, allocations: 1.469 kB / 0.9119 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003957/0.8199, allocations: 86.81 kB / 0.9119 GB, free: 17.39 MB / 0.5417 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 (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.0003935/0.8203, allocations: 266.1 kB / 0.9122 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.8207, allocations: 152.3 kB / 0.9123 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8207, allocations: 0 / 0.9123 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.8209, allocations: 85.59 kB / 0.9124 GB, free: 17.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.8213, allocations: 89.77 kB / 0.9125 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.8226, allocations: 0.8941 MB / 0.9134 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.8228, allocations: 0.8102 MB / 0.9142 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.8229, allocations: 30.72 kB / 0.9142 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.823, allocations: 23.19 kB / 0.9142 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/0.823, allocations: 3.938 kB / 0.9142 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.008886/0.8319, allocations: 5.258 MB / 0.9194 GB, free: 15.52 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)