Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7721/0.7721, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 187.3 kB / 187.3 MB, free: 11.87 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.387/1.387, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008497/0.0008498, allocations: 96.69 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 274.2 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.795e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4146, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.6098, allocations: 113 MB / 0.8747 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004453/0.6103, allocations: 116.4 kB / 0.8748 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03363/0.644, allocations: 6.275 MB / 0.8809 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/0.644, allocations: 0 / 0.8809 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6441, allocations: 0 / 0.8809 GB, free: 5.141 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006307/0.6447, allocations: 390.2 kB / 0.8813 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.6448, allocations: 8.031 kB / 0.8813 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.6448, allocations: 7.906 kB / 0.8813 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.6451, allocations: 167 kB / 0.8815 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6451, allocations: 3.953 kB / 0.8815 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.6451, allocations: 12 kB / 0.8815 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.6453, allocations: 33.69 kB / 0.8815 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.6453, allocations: 0 / 0.8815 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.6453, allocations: 8 kB / 0.8815 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6453, allocations: 0 / 0.8815 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.6454, allocations: 12 kB / 0.8816 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.6457, allocations: 157.7 kB / 0.8817 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.6459, allocations: 46.5 kB / 0.8817 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.6459, allocations: 20.83 kB / 0.8818 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.6473, allocations: 0.9779 MB / 0.8827 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.6474, allocations: 38.55 kB / 0.8828 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.6474, allocations: 0 / 0.8828 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.6477, allocations: 53.62 kB / 0.8828 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.6477, allocations: 51.41 kB / 0.8829 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6478, allocations: 101 kB / 0.883 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.6479, allocations: 25.7 kB / 0.883 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.6479, allocations: 80.14 kB / 0.8831 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.648, allocations: 19.75 kB / 0.8831 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.648, allocations: 4 kB / 0.8831 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6482, allocations: 314.8 kB / 0.8834 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.6482, allocations: 8 kB / 0.8834 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.6483, allocations: 11.94 kB / 0.8834 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.6483, allocations: 4 kB / 0.8834 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6484, allocations: 0 / 0.8834 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.6485, allocations: 57.55 kB / 0.8835 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6486, allocations: 5.094 kB / 0.8835 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.6486, allocations: 0 / 0.8835 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6486, allocations: 3.938 kB / 0.8835 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.6488, allocations: 19.98 kB / 0.8835 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.6488, allocations: 0 / 0.8835 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.6489, allocations: 4 kB / 0.8835 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6489, allocations: 0 / 0.8835 GB, free: 2.098 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.141e-05/0.649, allocations: 105 kB / 0.8836 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.6491, allocations: 7.953 kB / 0.8836 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6493, allocations: 57.72 kB / 0.8837 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.6493, allocations: 3.984 kB / 0.8837 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6493, allocations: 4 kB / 0.8837 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6493, allocations: 0 / 0.8837 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.6495, allocations: 161.6 kB / 0.8838 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6495, allocations: 3.938 kB / 0.8838 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.6496, allocations: 15.98 kB / 0.8838 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.6497, allocations: 0 / 0.8838 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6497, allocations: 3.953 kB / 0.8838 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6497, allocations: 0 / 0.8838 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6497, allocations: 4 kB / 0.8838 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.6499, allocations: 77.12 kB / 0.8839 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.65, allocations: 77.11 kB / 0.884 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.65, allocations: 0 / 0.884 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.216e-05/0.65, allocations: 3.953 kB / 0.884 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.6501, allocations: 4 kB / 0.884 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6501, allocations: 3.938 kB / 0.884 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.478e-05/0.6502, allocations: 93.06 kB / 0.8841 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/0.6502, allocations: 0 / 0.8841 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004152/0.6506, allocations: 47.88 kB / 0.8841 GB, free: 1.34 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003806/0.651, allocations: 163.1 kB / 0.8843 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.6512, allocations: 20.27 kB / 0.8843 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6512, allocations: 0 / 0.8843 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.6512, allocations: 11.94 kB / 0.8843 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.6515, allocations: 8 kB / 0.8843 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.6518, allocations: 77.05 kB / 0.8844 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.6521, allocations: 0.6848 MB / 0.8851 GB, free: 328 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.057e-05/0.6522, allocations: 11.97 kB / 0.8851 GB, free: 316 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.6523, allocations: 7.438 kB / 0.8851 GB, free: 308 kB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.6523, allocations: 0 / 0.8851 GB, free: 308 kB / 0.5417 GB Notification: Performance of Templates: time 0.005643/0.6579, allocations: 1.042 MB / 0.8861 GB, free: 15.31 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)