Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001228/0.001228, allocations: 187 kB / 17.34 MB, free: 5.742 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7363/0.7363, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 60.09 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.123, allocations: 80.94 MB / 0.6654 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002297/0.1254, allocations: 1.437 MB / 0.6668 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.1291, allocations: 2.868 MB / 0.6696 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.1292, allocations: 4 kB / 0.6696 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.1292, allocations: 7.922 kB / 0.6696 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.1293, allocations: 15.86 kB / 0.6696 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.1327, allocations: 1.577 MB / 0.6712 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.1328, allocations: 43.67 kB / 0.6712 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.1328, allocations: 7.984 kB / 0.6712 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.1329, allocations: 15.94 kB / 0.6712 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.412e-05/0.1329, allocations: 15.88 kB / 0.6712 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-06/0.1329, allocations: 4 kB / 0.6712 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.1349, allocations: 1.529 MB / 0.6727 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1349, allocations: 4 kB / 0.6727 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1349, allocations: 19.88 kB / 0.6728 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1364, allocations: 1.088 MB / 0.6738 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1364, allocations: 3.938 kB / 0.6738 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1364, allocations: 3.938 kB / 0.6738 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1364, allocations: 0 / 0.6738 GB, free: 13.12 MB / 0.5137 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.0005888/0.137, allocations: 0.5209 MB / 0.6743 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.137, allocations: 8.031 kB / 0.6743 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.1371, allocations: 84.12 kB / 0.6744 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1372, allocations: 251.5 kB / 0.6747 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.1373, allocations: 154.7 kB / 0.6748 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1373, allocations: 158.5 kB / 0.675 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.1374, allocations: 105 kB / 0.6751 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1374, allocations: 75.28 kB / 0.6751 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.1375, allocations: 154.5 kB / 0.6753 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.1375, allocations: 150.6 kB / 0.6754 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.1375, allocations: 158.5 kB / 0.6756 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.1378, allocations: 469.9 kB / 0.676 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.1379, allocations: 169.1 kB / 0.6762 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.1379, allocations: 84.14 kB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1379, allocations: 75.28 kB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.138, allocations: 113.8 kB / 0.6764 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.138, allocations: 4 kB / 0.6764 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.296e-05/0.1381, allocations: 33.61 kB / 0.6765 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1381, allocations: 126.7 kB / 0.6766 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1382, allocations: 131.5 kB / 0.6767 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1382, allocations: 25.7 kB / 0.6767 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.1383, allocations: 100 kB / 0.6768 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.1383, allocations: 0 / 0.6768 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1383, allocations: 13.72 kB / 0.6769 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.1384, allocations: 322.8 kB / 0.6772 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.1385, allocations: 3.984 kB / 0.6772 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.1385, allocations: 8 kB / 0.6772 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.1385, allocations: 24.8 kB / 0.6772 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1385, allocations: 0 / 0.6772 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.1386, allocations: 49.7 kB / 0.6772 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1387, allocations: 4 kB / 0.6773 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.1387, allocations: 7.984 kB / 0.6773 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1387, allocations: 3.984 kB / 0.6773 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.1387, allocations: 4.062 kB / 0.6773 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1387, allocations: 0 / 0.6773 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.1387, allocations: 3.906 kB / 0.6773 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1388, allocations: 4 kB / 0.6773 GB, free: 9.348 MB / 0.5137 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 7.644e-05/0.1388, allocations: 190.4 kB / 0.6775 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.1389, allocations: 108.9 kB / 0.6776 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.1389, allocations: 112.6 kB / 0.6777 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/0.139, allocations: 184.3 kB / 0.6778 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/0.139, allocations: 188.1 kB / 0.678 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-05/0.1391, allocations: 176.3 kB / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1393, allocations: 417.1 kB / 0.6786 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/0.1393, allocations: 105 kB / 0.6787 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.1394, allocations: 112.9 kB / 0.6788 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-05/0.1394, allocations: 176.3 kB / 0.679 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.1395, allocations: 180.3 kB / 0.6791 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-05/0.1395, allocations: 180.2 kB / 0.6793 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.606e-05/0.1396, allocations: 176.3 kB / 0.6795 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.1397, allocations: 323.5 kB / 0.6798 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.1398, allocations: 186 kB / 0.68 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.1398, allocations: 184.2 kB / 0.6801 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1399, allocations: 117 kB / 0.6802 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1399, allocations: 184.2 kB / 0.6804 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.14, allocations: 105 kB / 0.6805 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.14, allocations: 97.14 kB / 0.6806 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.14, allocations: 0 / 0.6806 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006687/0.1407, allocations: 283.8 kB / 0.6809 GB, free: 5.418 MB / 0.5137 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.0009473/0.1417, allocations: 0.5253 MB / 0.6814 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.1418, allocations: 41.69 kB / 0.6814 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1418, allocations: 4 kB / 0.6814 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.1418, allocations: 7.938 kB / 0.6815 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1421, allocations: 459.6 kB / 0.6819 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.1424, allocations: 265.8 kB / 0.6821 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1426, allocations: 0.6807 MB / 0.6828 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.1426, allocations: 11.38 kB / 0.6828 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1426, allocations: 0 / 0.6828 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.006819/0.1495, allocations: 4.72 MB / 0.6874 GB, free: 14.64 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)