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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008005/0.008005, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001497/0.001497, allocations: 194.1 kB / 16.67 MB, free: 5.973 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9606/0.9606, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5108, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002334/0.5132, allocations: 1.427 MB / 0.6661 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003794/0.517, allocations: 2.836 MB / 0.6689 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.517, allocations: 0 / 0.6689 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.5171, allocations: 3.938 kB / 0.6689 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.5171, allocations: 10.81 kB / 0.6689 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.5207, allocations: 1.563 MB / 0.6704 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.259e-05/0.5208, allocations: 41.14 kB / 0.6705 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.5209, allocations: 2.438 kB / 0.6705 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.5209, allocations: 11.53 kB / 0.6705 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.5209, allocations: 15.7 kB / 0.6705 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.521, allocations: 5.125 kB / 0.6705 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.5229, allocations: 1.49 MB / 0.6719 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.523, allocations: 1.375 kB / 0.6719 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.523, allocations: 15.94 kB / 0.672 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.5243, allocations: 1.067 MB / 0.673 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5244, allocations: 1.188 kB / 0.673 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5244, allocations: 0 / 0.673 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5244, allocations: 0 / 0.673 GB, free: 1.695 MB / 0.4981 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.0005157/0.5249, allocations: 0.5164 MB / 0.6735 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5249, allocations: 9.25 kB / 0.6735 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.525, allocations: 82.81 kB / 0.6736 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.5251, allocations: 254.5 kB / 0.6738 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.5252, allocations: 154.7 kB / 0.674 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.5252, allocations: 155.9 kB / 0.6741 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.219e-05/0.5253, allocations: 101 kB / 0.6742 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5253, allocations: 79.28 kB / 0.6743 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5253, allocations: 151.9 kB / 0.6745 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.5253, allocations: 150.6 kB / 0.6746 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.5254, allocations: 151.9 kB / 0.6747 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.5258, allocations: 472.4 kB / 0.6752 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.5259, allocations: 174.2 kB / 0.6754 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.5259, allocations: 81.3 kB / 0.6754 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.526, allocations: 75.28 kB / 0.6755 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.526, allocations: 114.8 kB / 0.6756 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.526, allocations: 4 kB / 0.6756 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.697e-05/0.5261, allocations: 40.52 kB / 0.6757 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.5262, allocations: 130.6 kB / 0.6758 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.5263, allocations: 126.5 kB / 0.6759 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.5264, allocations: 25.7 kB / 0.6759 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.5264, allocations: 90.48 kB / 0.676 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5264, allocations: 1.125 kB / 0.676 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.5265, allocations: 17.98 kB / 0.676 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5266, allocations: 321.1 kB / 0.6763 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.5266, allocations: 2.094 kB / 0.6763 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.5267, allocations: 3.594 kB / 0.6763 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.5267, allocations: 22.06 kB / 0.6764 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5267, allocations: 0 / 0.6764 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.5268, allocations: 51.48 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5269, allocations: 5.062 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.5269, allocations: 2.281 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5269, allocations: 0 / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.5269, allocations: 1.312 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5269, allocations: 7.984 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.5269, allocations: 1.375 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.527, allocations: 1.531 kB / 0.6764 GB, free: 14.11 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 0.0001128/0.5271, allocations: 187.5 kB / 0.6766 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.5271, allocations: 111.3 kB / 0.6767 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.5272, allocations: 115.9 kB / 0.6768 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.856e-05/0.5273, allocations: 184.2 kB / 0.677 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-05/0.5274, allocations: 186.1 kB / 0.6772 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.981e-05/0.5274, allocations: 178.1 kB / 0.6774 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.5277, allocations: 414.8 kB / 0.6777 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.465e-05/0.5278, allocations: 106 kB / 0.6779 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.5278, allocations: 105 kB / 0.678 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.455e-05/0.5279, allocations: 186.1 kB / 0.6781 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.528, allocations: 177 kB / 0.6783 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.295e-05/0.528, allocations: 185.5 kB / 0.6785 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-05/0.5281, allocations: 177.7 kB / 0.6786 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.5283, allocations: 320.7 kB / 0.6789 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.5284, allocations: 179.6 kB / 0.6791 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.5284, allocations: 181.7 kB / 0.6793 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.5285, allocations: 112.9 kB / 0.6794 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.5286, allocations: 177.6 kB / 0.6796 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.5287, allocations: 105.9 kB / 0.6797 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.5287, allocations: 106.1 kB / 0.6798 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5287, allocations: 0 / 0.6798 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008358/0.5296, allocations: 278.2 kB / 0.68 GB, free: 10.43 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.001062/0.5306, allocations: 0.517 MB / 0.6805 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5308, allocations: 36.42 kB / 0.6806 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.5308, allocations: 5.688 kB / 0.6806 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.5308, allocations: 3.938 kB / 0.6806 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.5312, allocations: 474.3 kB / 0.681 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.5316, allocations: 237.6 kB / 0.6813 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5318, allocations: 0.6799 MB / 0.6819 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.5318, allocations: 2.281 kB / 0.6819 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.5319, allocations: 7.438 kB / 0.6819 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.5319, allocations: 1.25 kB / 0.6819 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of Templates: time 0.009875/0.5417, allocations: 5.424 MB / 0.6872 GB, free: 5.922 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)