Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005394/0.005393, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001205/0.001205, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.942/0.942, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 0.5857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3981, allocations: 80.9 MB / 0.6647 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004019/0.4022, allocations: 3.025 MB / 0.6676 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.405, allocations: 2.145 MB / 0.6697 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.4052, allocations: 10.12 kB / 0.6697 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.4067, allocations: 0.4954 MB / 0.6702 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.4071, allocations: 154.8 kB / 0.6704 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.4072, allocations: 57.14 kB / 0.6704 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.4077, allocations: 453.4 kB / 0.6709 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.408, allocations: 154.1 kB / 0.671 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.4082, allocations: 165.1 kB / 0.6712 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.4085, allocations: 175.6 kB / 0.6713 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.4085, allocations: 34.06 kB / 0.6714 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.4086, allocations: 42.19 kB / 0.6714 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.4087, allocations: 99.11 kB / 0.6715 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.409, allocations: 213.6 kB / 0.6717 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.4095, allocations: 0.5457 MB / 0.6722 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4096, allocations: 0 / 0.6722 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4096, allocations: 0 / 0.6722 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4096, allocations: 3.938 kB / 0.6722 GB, free: 1.785 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00108/0.4107, allocations: 0.7001 MB / 0.6729 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4107, allocations: 9.75 kB / 0.6729 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.4108, allocations: 41.97 kB / 0.673 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.4114, allocations: 377.6 kB / 0.6733 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4115, allocations: 21.69 kB / 0.6734 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.4115, allocations: 25.25 kB / 0.6734 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.412, allocations: 210.8 kB / 0.6736 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.412, allocations: 0 / 0.6736 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.412, allocations: 10.38 kB / 0.6736 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.412, allocations: 4.438 kB / 0.6736 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.4124, allocations: 163.9 kB / 0.6737 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.4135, allocations: 0.8531 MB / 0.6746 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.4138, allocations: 164.5 kB / 0.6747 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.414, allocations: 112 kB / 0.6748 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4141, allocations: 6.062 kB / 0.6748 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4141, allocations: 39.91 kB / 0.6749 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.4141, allocations: 0 / 0.6749 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006089/0.4147, allocations: 246.9 kB / 0.6751 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.4148, allocations: 57.59 kB / 0.6752 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.4153, allocations: 420.6 kB / 0.6756 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.4153, allocations: 35.55 kB / 0.6756 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4155, allocations: 207.1 kB / 0.6758 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.4156, allocations: 63.25 kB / 0.6759 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.4156, allocations: 32.91 kB / 0.6759 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4158, allocations: 347.3 kB / 0.6762 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.416, allocations: 53.16 kB / 0.6763 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4161, allocations: 58 kB / 0.6763 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.4164, allocations: 141.3 kB / 0.6765 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4164, allocations: 0 / 0.6765 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003579/0.4168, allocations: 204 kB / 0.6767 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4168, allocations: 9.469 kB / 0.6767 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4168, allocations: 0 / 0.6767 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4168, allocations: 1.812 kB / 0.6767 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.4171, allocations: 60.36 kB / 0.6767 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4171, allocations: 1.062 kB / 0.6767 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.4172, allocations: 13.84 kB / 0.6768 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.4172, allocations: 8 kB / 0.6768 GB, free: 14.25 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001549/0.4174, allocations: 167.8 kB / 0.6769 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.4175, allocations: 40.41 kB / 0.677 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.4175, allocations: 39.56 kB / 0.677 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4176, allocations: 1.469 kB / 0.677 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4176, allocations: 9.203 kB / 0.677 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4176, allocations: 0 / 0.677 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.418, allocations: 369.5 kB / 0.6774 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.418, allocations: 0.875 kB / 0.6774 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.4183, allocations: 56.77 kB / 0.6774 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4183, allocations: 9.859 kB / 0.6774 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4183, allocations: 9.156 kB / 0.6774 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4183, allocations: 5.031 kB / 0.6774 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4183, allocations: 0 / 0.6774 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.4189, allocations: 382.9 kB / 0.6778 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.419, allocations: 119.5 kB / 0.6779 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.4191, allocations: 5.094 kB / 0.6779 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.4192, allocations: 8.203 kB / 0.6779 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4193, allocations: 12.77 kB / 0.6779 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4193, allocations: 3.5 kB / 0.6779 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003278/0.4196, allocations: 311 kB / 0.6782 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4196, allocations: 0 / 0.6782 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003316/0.42, allocations: 71.22 kB / 0.6783 GB, free: 13.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001505/0.4201, allocations: 110.7 kB / 0.6784 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.4205, allocations: 141.3 kB / 0.6785 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4205, allocations: 4 kB / 0.6786 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4207, allocations: 80.94 kB / 0.6786 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.4213, allocations: 97.05 kB / 0.6787 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4226, allocations: 0.7568 MB / 0.6795 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.423, allocations: 0.7963 MB / 0.6802 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.4231, allocations: 34.22 kB / 0.6803 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.4232, allocations: 24.91 kB / 0.6803 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4232, allocations: 0 / 0.6803 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.008527/0.4317, allocations: 3.995 MB / 0.6842 GB, free: 9.668 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)