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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.847/0.847, 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.001101/0.001101, allocations: 180 kB / 187.2 MB, free: 11.89 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.49/1.49, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009153/0.0009155, allocations: 94.52 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001898/0.001898, allocations: 276.8 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.795e-05, allocations: 4 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4347, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5786, allocations: 129.3 MB / 0.8906 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.579, allocations: 119.8 kB / 0.8907 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04654/0.6255, allocations: 15.19 MB / 0.9056 GB, free: 11.87 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6256, allocations: 0 / 0.9056 GB, free: 11.87 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.6256, allocations: 0 / 0.9056 GB, free: 11.87 MB / 0.573 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.0008927/0.6265, allocations: 0.5461 MB / 0.9061 GB, free: 11.28 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6265, allocations: 12.03 kB / 0.9061 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.6266, allocations: 83.19 kB / 0.9062 GB, free: 11.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.6268, allocations: 255.4 kB / 0.9064 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.6268, allocations: 150.6 kB / 0.9066 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.6269, allocations: 154.6 kB / 0.9067 GB, free: 10.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.007e-05/0.627, allocations: 101 kB / 0.9068 GB, free: 10.49 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.627, allocations: 83.22 kB / 0.9069 GB, free: 10.41 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.6271, allocations: 154.6 kB / 0.9071 GB, free: 10.25 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.6271, allocations: 150.6 kB / 0.9072 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.6272, allocations: 150.6 kB / 0.9073 GB, free: 9.957 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.6275, allocations: 465.9 kB / 0.9078 GB, free: 9.453 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6276, allocations: 169.1 kB / 0.9079 GB, free: 9.277 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.6277, allocations: 88.02 kB / 0.908 GB, free: 9.188 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.6277, allocations: 75.28 kB / 0.9081 GB, free: 9.113 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.6278, allocations: 113.8 kB / 0.9082 GB, free: 8.992 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.6278, allocations: 0 / 0.9082 GB, free: 8.992 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 7.616e-05/0.6279, allocations: 41.59 kB / 0.9083 GB, free: 8.945 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.6279, allocations: 126.7 kB / 0.9084 GB, free: 8.809 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.6281, allocations: 118.4 kB / 0.9085 GB, free: 8.684 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.6281, allocations: 25.7 kB / 0.9085 GB, free: 8.652 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.6282, allocations: 88.14 kB / 0.9086 GB, free: 8.562 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.6282, allocations: 0 / 0.9086 GB, free: 8.562 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.6282, allocations: 0 / 0.9086 GB, free: 8.562 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6283, allocations: 318.8 kB / 0.9089 GB, free: 8.242 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.6283, allocations: 11.94 kB / 0.9089 GB, free: 8.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.6284, allocations: 8 kB / 0.9089 GB, free: 8.223 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.6284, allocations: 4 kB / 0.9089 GB, free: 8.219 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6284, allocations: 0 / 0.9089 GB, free: 8.219 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.6285, allocations: 49.55 kB / 0.909 GB, free: 8.164 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6286, allocations: 9.406 kB / 0.909 GB, free: 8.156 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6286, allocations: 0 / 0.909 GB, free: 8.156 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6286, allocations: 0 / 0.909 GB, free: 8.156 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.6286, allocations: 0 / 0.909 GB, free: 8.156 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6286, allocations: 4 kB / 0.909 GB, free: 8.152 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.6286, allocations: 12.06 kB / 0.909 GB, free: 8.141 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6287, allocations: 0 / 0.909 GB, free: 8.141 MB / 0.573 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 (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 9.084e-05/0.6288, allocations: 176.3 kB / 0.9092 GB, free: 7.961 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.6288, allocations: 116.8 kB / 0.9093 GB, free: 7.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.6289, allocations: 116.7 kB / 0.9094 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/0.629, allocations: 184.2 kB / 0.9096 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/0.629, allocations: 184.3 kB / 0.9097 GB, free: 7.344 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.797e-05/0.6291, allocations: 176.3 kB / 0.9099 GB, free: 7.164 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.6294, allocations: 417.1 kB / 0.9103 GB, free: 6.699 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/0.6294, allocations: 101 kB / 0.9104 GB, free: 6.594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.6295, allocations: 104.9 kB / 0.9105 GB, free: 6.484 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.499e-05/0.6295, allocations: 184.2 kB / 0.9107 GB, free: 6.297 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.6296, allocations: 184.3 kB / 0.9108 GB, free: 6.109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.002e-05/0.6297, allocations: 187.9 kB / 0.911 GB, free: 5.922 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.197e-05/0.6298, allocations: 180.2 kB / 0.9112 GB, free: 5.738 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.6299, allocations: 307.8 kB / 0.9115 GB, free: 5.414 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.63, allocations: 191.2 kB / 0.9117 GB, free: 5.203 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.6301, allocations: 188.2 kB / 0.9119 GB, free: 5.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.6302, allocations: 101 kB / 0.912 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.6302, allocations: 180.2 kB / 0.9121 GB, free: 4.723 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.6303, allocations: 105 kB / 0.9122 GB, free: 4.613 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.6304, allocations: 104 kB / 0.9123 GB, free: 4.512 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6304, allocations: 4 kB / 0.9123 GB, free: 4.508 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008878/0.6313, allocations: 327.4 kB / 0.9126 GB, free: 4.188 MB / 0.573 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 (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.00108/0.6323, allocations: 0.5579 MB / 0.9132 GB, free: 3.625 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.6324, allocations: 37.7 kB / 0.9132 GB, free: 3.582 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6325, allocations: 0 / 0.9132 GB, free: 3.582 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.6325, allocations: 0 / 0.9132 GB, free: 3.582 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.6328, allocations: 0.5341 MB / 0.9137 GB, free: 3.043 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.633, allocations: 152.2 kB / 0.9139 GB, free: 2.871 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.6333, allocations: 0.6809 MB / 0.9146 GB, free: 2.164 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.6333, allocations: 12.02 kB / 0.9146 GB, free: 2.152 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.6333, allocations: 15.38 kB / 0.9146 GB, free: 2.137 MB / 0.573 GB Notification: Performance of SimCode: time 2.3e-07/0.6333, allocations: 0 / 0.9146 GB, free: 2.137 MB / 0.573 GB Notification: Performance of Templates: time 0.354/0.9874, allocations: 5.258 MB / 0.9197 GB, free: 137.9 MB / 0.573 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)