Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007684/0.007684, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.001653/0.001653, allocations: 191.1 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.322/1.322, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9219/0.9219, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.14 kB / 0.5857 GB, free: 3.277 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4233, allocations: 80.9 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004564/0.4279, allocations: 4.141 MB / 0.6687 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.431, allocations: 2.414 MB / 0.6711 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.4313, allocations: 14.56 kB / 0.6711 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.4327, allocations: 0.5414 MB / 0.6716 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004218/0.4331, allocations: 255 kB / 0.6719 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.4333, allocations: 135.9 kB / 0.672 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006522/0.434, allocations: 0.811 MB / 0.6728 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.4344, allocations: 337.4 kB / 0.6731 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.4347, allocations: 294.1 kB / 0.6734 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.435, allocations: 328.9 kB / 0.6737 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-05/0.4351, allocations: 74.44 kB / 0.6738 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4352, allocations: 74 kB / 0.6738 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.4354, allocations: 170.6 kB / 0.674 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.4356, allocations: 387.6 kB / 0.6744 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008553/0.4365, allocations: 0.9906 MB / 0.6753 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4365, allocations: 0 / 0.6753 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4365, allocations: 1.312 kB / 0.6753 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.4365, allocations: 4 kB / 0.6753 GB, free: 15.39 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001356/0.4379, allocations: 0.9509 MB / 0.6763 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.438, allocations: 10.19 kB / 0.6763 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.4381, allocations: 72.19 kB / 0.6764 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.4387, allocations: 459.1 kB / 0.6768 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.4388, allocations: 36.84 kB / 0.6768 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.4388, allocations: 52.31 kB / 0.6769 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.4396, allocations: 425.9 kB / 0.6773 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4396, allocations: 1.219 kB / 0.6773 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.4396, allocations: 19.78 kB / 0.6773 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4396, allocations: 11.78 kB / 0.6773 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.4403, allocations: 371.9 kB / 0.6777 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.4423, allocations: 1.524 MB / 0.6792 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.4428, allocations: 340.5 kB / 0.6795 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.4433, allocations: 324.6 kB / 0.6798 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.4433, allocations: 8.5 kB / 0.6798 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4434, allocations: 32.88 kB / 0.6798 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 3.075e-06/0.4434, allocations: 0 / 0.6798 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009338/0.4443, allocations: 0.4974 MB / 0.6803 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4444, allocations: 55.91 kB / 0.6804 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.4449, allocations: 485.4 kB / 0.6808 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.445, allocations: 35.95 kB / 0.6809 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4451, allocations: 275.2 kB / 0.6811 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4453, allocations: 146.1 kB / 0.6813 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.4454, allocations: 61.08 kB / 0.6813 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4455, allocations: 358.5 kB / 0.6817 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.4458, allocations: 121.6 kB / 0.6818 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.446, allocations: 126.1 kB / 0.6819 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.4465, allocations: 305 kB / 0.6822 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.4465, allocations: 3.938 kB / 0.6822 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006564/0.4472, allocations: 396.1 kB / 0.6826 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4472, allocations: 5.625 kB / 0.6826 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4472, allocations: 0 / 0.6826 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4473, allocations: 2.844 kB / 0.6826 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.4478, allocations: 128.1 kB / 0.6827 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4478, allocations: 1.562 kB / 0.6827 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.448, allocations: 32.17 kB / 0.6827 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4481, allocations: 12 kB / 0.6828 GB, free: 10.16 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 (46): * Single equations (assignments): 46 * 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.0002013/0.4483, allocations: 193.1 kB / 0.6829 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.4484, allocations: 59.36 kB / 0.683 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.4485, allocations: 55.23 kB / 0.683 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4485, allocations: 8.344 kB / 0.6831 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4485, allocations: 0 / 0.6831 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4485, allocations: 3.984 kB / 0.6831 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.4491, allocations: 0.5832 MB / 0.6836 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4491, allocations: 3.984 kB / 0.6836 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.4496, allocations: 124.1 kB / 0.6838 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4497, allocations: 1.25 kB / 0.6838 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.4497, allocations: 14.34 kB / 0.6838 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4497, allocations: 1.125 kB / 0.6838 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4497, allocations: 5.188 kB / 0.6838 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.4507, allocations: 0.6563 MB / 0.6844 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4508, allocations: 133.3 kB / 0.6845 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.4508, allocations: 4.844 kB / 0.6845 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.4511, allocations: 20.98 kB / 0.6846 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.4511, allocations: 27.12 kB / 0.6846 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4512, allocations: 7.344 kB / 0.6846 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003739/0.4515, allocations: 352.3 kB / 0.6849 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4515, allocations: 0 / 0.6849 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004445/0.452, allocations: 144.7 kB / 0.6851 GB, free: 8.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001388/0.4521, allocations: 118.7 kB / 0.6852 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.4527, allocations: 327.7 kB / 0.6855 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4527, allocations: 0 / 0.6855 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.453, allocations: 176.1 kB / 0.6857 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.4536, allocations: 139.4 kB / 0.6858 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4555, allocations: 1.179 MB / 0.6869 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4559, allocations: 0.8753 MB / 0.6878 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.4561, allocations: 51.23 kB / 0.6879 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.4562, allocations: 37.33 kB / 0.6879 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4562, allocations: 3.5 kB / 0.6879 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of Templates: time 0.01101/0.4672, allocations: 6.024 MB / 0.6938 GB, free: 3.543 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)