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 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7701/0.7701, allocations: 140.1 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 174.6 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 426.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.0008493, allocations: 94.34 kB / 0.4945 GB, free: 8.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001708/0.001708, allocations: 269.2 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 20 kB / 0.6621 GB, free: 6.746 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3719, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5224, allocations: 127.8 MB / 0.8643 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.5228, allocations: 123.9 kB / 0.8644 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04489/0.5677, allocations: 14.77 MB / 0.8789 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5677, allocations: 0 / 0.8789 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.5678, allocations: 4 kB / 0.8789 GB, free: 15.45 MB / 0.5573 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.001015/0.5688, allocations: 0.5733 MB / 0.8794 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5688, allocations: 8.031 kB / 0.8794 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.5689, allocations: 88.16 kB / 0.8795 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.5691, allocations: 252.7 kB / 0.8798 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.5692, allocations: 150.9 kB / 0.8799 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.5693, allocations: 154.9 kB / 0.8801 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.5693, allocations: 109.5 kB / 0.8802 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.5694, allocations: 79.47 kB / 0.8802 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.5694, allocations: 158.5 kB / 0.8804 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.5695, allocations: 154.5 kB / 0.8805 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.5696, allocations: 154.5 kB / 0.8807 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.5699, allocations: 465.9 kB / 0.8811 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.57, allocations: 169.1 kB / 0.8813 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.57, allocations: 80.14 kB / 0.8814 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.5701, allocations: 75.28 kB / 0.8814 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.5701, allocations: 113.8 kB / 0.8815 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.5701, allocations: 0 / 0.8815 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.413e-05/0.5702, allocations: 33.58 kB / 0.8816 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.5703, allocations: 126.7 kB / 0.8817 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.5704, allocations: 134.8 kB / 0.8818 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5705, allocations: 25.7 kB / 0.8818 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.5705, allocations: 96.11 kB / 0.8819 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.5705, allocations: 0 / 0.8819 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.5705, allocations: 0 / 0.8819 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5707, allocations: 322.8 kB / 0.8822 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.5707, allocations: 0 / 0.8822 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.5707, allocations: 4 kB / 0.8823 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.5708, allocations: 20.78 kB / 0.8823 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5708, allocations: 7.938 kB / 0.8823 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.5709, allocations: 45.61 kB / 0.8823 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5709, allocations: 7.938 kB / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.571, allocations: 4 kB / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.571, allocations: 64 / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.571, allocations: 4 kB / 0.8823 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.571, allocations: 3.984 kB / 0.8823 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.571, allocations: 0 / 0.8823 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.571, allocations: 4 kB / 0.8823 GB, free: 11.66 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5711, allocations: 181.1 kB / 0.8825 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.5712, allocations: 116.8 kB / 0.8826 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.5713, allocations: 108.9 kB / 0.8827 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.008e-05/0.5714, allocations: 188.2 kB / 0.8829 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-05/0.5715, allocations: 180.2 kB / 0.8831 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-05/0.5715, allocations: 180.3 kB / 0.8833 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.5718, allocations: 417.2 kB / 0.8837 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.5718, allocations: 101 kB / 0.8838 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.5719, allocations: 109 kB / 0.8839 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-05/0.5719, allocations: 184.1 kB / 0.884 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/0.572, allocations: 184.3 kB / 0.8842 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.107e-05/0.5721, allocations: 180.2 kB / 0.8844 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.186e-05/0.5722, allocations: 176.3 kB / 0.8845 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.5723, allocations: 311.8 kB / 0.8848 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.5724, allocations: 189.9 kB / 0.885 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.5725, allocations: 184.1 kB / 0.8852 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.5726, allocations: 113 kB / 0.8853 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.5727, allocations: 177.2 kB / 0.8855 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.5727, allocations: 109 kB / 0.8856 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.627e-05/0.5728, allocations: 96.67 kB / 0.8857 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5728, allocations: 0 / 0.8857 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001037/0.5738, allocations: 323.4 kB / 0.886 GB, free: 7.703 MB / 0.5573 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 (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.001459/0.5753, allocations: 0.5576 MB / 0.8865 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5754, allocations: 33.7 kB / 0.8866 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5754, allocations: 4.062 kB / 0.8866 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.5754, allocations: 3.938 kB / 0.8866 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.5759, allocations: 0.5322 MB / 0.8871 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.5762, allocations: 251.8 kB / 0.8873 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.5765, allocations: 0.6848 MB / 0.888 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.5765, allocations: 3.906 kB / 0.888 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/0.5766, allocations: 11.38 kB / 0.888 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of SimCode: time 1.833e-06/0.5766, allocations: 0 / 0.888 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of Templates: time 0.01014/0.5867, allocations: 5.488 MB / 0.8934 GB, free: 120 kB / 0.5573 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)