Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.009094/0.009094, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.002073/0.002073, allocations: 190 kB / 16.67 MB, free: 5.883 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7934/0.7934, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 0.5814 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.505, allocations: 80.22 MB / 0.6598 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002875/0.5079, allocations: 1.415 MB / 0.6611 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.5118, allocations: 2.84 MB / 0.6639 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.5119, allocations: 0 / 0.6639 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.512, allocations: 9.016 kB / 0.6639 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.512, allocations: 13.36 kB / 0.6639 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.516, allocations: 1.546 MB / 0.6654 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.5161, allocations: 41.61 kB / 0.6655 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.5162, allocations: 2.656 kB / 0.6655 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.5162, allocations: 15.67 kB / 0.6655 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.115e-05/0.5163, allocations: 22.5 kB / 0.6655 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.5163, allocations: 2.344 kB / 0.6655 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.5194, allocations: 1.481 MB / 0.667 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.5194, allocations: 5.078 kB / 0.667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.5195, allocations: 19.19 kB / 0.667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.522, allocations: 1.064 MB / 0.668 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.522, allocations: 1.531 kB / 0.668 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.522, allocations: 3.938 kB / 0.668 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.522, allocations: 0 / 0.668 GB, free: 4.773 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.001019/0.523, allocations: 0.522 MB / 0.6685 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.5231, allocations: 8.906 kB / 0.6686 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.5232, allocations: 78.81 kB / 0.6686 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.5233, allocations: 257.8 kB / 0.6689 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.5234, allocations: 156.2 kB / 0.669 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.5234, allocations: 150.6 kB / 0.6692 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.812e-05/0.5235, allocations: 106.6 kB / 0.6693 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5235, allocations: 75.28 kB / 0.6693 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.5235, allocations: 150.6 kB / 0.6695 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.5236, allocations: 152.1 kB / 0.6696 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.5236, allocations: 154.5 kB / 0.6698 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.5239, allocations: 477.2 kB / 0.6702 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.524, allocations: 174.3 kB / 0.6704 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.524, allocations: 80.14 kB / 0.6705 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.524, allocations: 75.28 kB / 0.6705 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.5241, allocations: 111.2 kB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.5241, allocations: 4 kB / 0.6707 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.799e-05/0.5242, allocations: 32.39 kB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.5242, allocations: 127.7 kB / 0.6708 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.5244, allocations: 130.1 kB / 0.6709 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.5244, allocations: 25.7 kB / 0.671 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.5244, allocations: 95.09 kB / 0.671 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.5244, allocations: 0 / 0.671 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.5245, allocations: 18.84 kB / 0.6711 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.5246, allocations: 320 kB / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.5246, allocations: 6.625 kB / 0.6714 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.5246, allocations: 3.031 kB / 0.6714 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.5247, allocations: 14.58 kB / 0.6714 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5247, allocations: 0 / 0.6714 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/0.5248, allocations: 54.72 kB / 0.6714 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5248, allocations: 6.406 kB / 0.6714 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.5249, allocations: 2.469 kB / 0.6715 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5249, allocations: 0 / 0.6715 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.5249, allocations: 4.062 kB / 0.6715 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5249, allocations: 1.375 kB / 0.6715 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.5249, allocations: 3.906 kB / 0.6715 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.525, allocations: 1.469 kB / 0.6715 GB, free: 1.184 MB / 0.4981 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.603e-05/0.525, allocations: 190.3 kB / 0.6716 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.5251, allocations: 116.4 kB / 0.6718 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.5251, allocations: 107.3 kB / 0.6719 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.5252, allocations: 184.2 kB / 0.672 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-05/0.5252, allocations: 185.3 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.724e-05/0.5253, allocations: 185.4 kB / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.5255, allocations: 415.8 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.054e-05/0.5256, allocations: 102.6 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.5256, allocations: 105 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.283e-05/0.5257, allocations: 181.5 kB / 0.6732 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.5258, allocations: 185.4 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-05/0.5259, allocations: 181.3 kB / 0.6735 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.868e-05/0.526, allocations: 177.4 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.5262, allocations: 315.7 kB / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.5263, allocations: 192.5 kB / 0.6742 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.5264, allocations: 181.6 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.5265, allocations: 102.4 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.5266, allocations: 176.3 kB / 0.6746 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.5266, allocations: 110.2 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.5267, allocations: 106.2 kB / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5267, allocations: 0 / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001047/0.5277, allocations: 277 kB / 0.6751 GB, free: 13.5 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.001359/0.5291, allocations: 0.5046 MB / 0.6756 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.5292, allocations: 53.66 kB / 0.6756 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5292, allocations: 0 / 0.6756 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.5292, allocations: 1.312 kB / 0.6756 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.5297, allocations: 472.2 kB / 0.6761 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.53, allocations: 228 kB / 0.6763 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.5303, allocations: 0.6849 MB / 0.6769 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.5304, allocations: 1.469 kB / 0.677 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.5304, allocations: 8.469 kB / 0.677 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.5304, allocations: 0 / 0.677 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.01235/0.5427, allocations: 5.429 MB / 0.6823 GB, free: 9.008 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)