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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9143/0.9143, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7468/0.7468, allocations: 154.9 MB / 414.8 MB, free: 376 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5207 GB, free: 1.719 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.525e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003045/0.00306, allocations: 3.102 MB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.005275, allocations: 2.143 MB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.005449, allocations: 8 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.006553, allocations: 483.4 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.006751, allocations: 153.1 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 8.889e-05/0.00684, allocations: 59.94 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.007181, allocations: 462 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.007342, allocations: 103.8 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.007605, allocations: 251.4 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.007766, allocations: 129 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.0078, allocations: 39.94 kB / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.221e-05/0.007842, allocations: 36 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.007931, allocations: 104.9 kB / 0.5276 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.008035, allocations: 135.7 kB / 0.5277 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.008297, allocations: 294.9 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.008299, allocations: 0 / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.71e-07/0.0083, allocations: 1.031 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.008305, allocations: 0 / 0.528 GB, free: 10.27 MB / 0.4948 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.000689/0.008994, allocations: 0.7448 MB / 0.5288 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.009028, allocations: 8.031 kB / 0.5288 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.009102, allocations: 60.66 kB / 0.5288 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.009401, allocations: 314.6 kB / 0.5291 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.009417, allocations: 16.88 kB / 0.5291 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.009451, allocations: 31.09 kB / 0.5292 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.009683, allocations: 153.4 kB / 0.5293 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.009694, allocations: 4.172 kB / 0.5293 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.009711, allocations: 8.375 kB / 0.5293 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.009722, allocations: 15.92 kB / 0.5293 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.009853, allocations: 74.94 kB / 0.5294 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.01056, allocations: 0.6917 MB / 0.5301 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01072, allocations: 102.9 kB / 0.5302 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.0108, allocations: 63.59 kB / 0.5302 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.01081, allocations: 4.844 kB / 0.5303 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.01083, allocations: 33.39 kB / 0.5303 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.01083, allocations: 0.5 kB / 0.5303 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0002678/0.0111, allocations: 170.3 kB / 0.5304 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.01113, allocations: 55.41 kB / 0.5305 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.01144, allocations: 442.8 kB / 0.5309 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01146, allocations: 25.7 kB / 0.5309 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.0116, allocations: 275.1 kB / 0.5312 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.01166, allocations: 67.42 kB / 0.5313 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.0117, allocations: 37.81 kB / 0.5313 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.01185, allocations: 0.5352 MB / 0.5318 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.0119, allocations: 27.92 kB / 0.5319 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.01194, allocations: 25.36 kB / 0.5319 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.01203, allocations: 69.22 kB / 0.5319 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01204, allocations: 0 / 0.5319 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001571/0.01219, allocations: 147.6 kB / 0.5321 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01221, allocations: 11.98 kB / 0.5321 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01221, allocations: 0 / 0.5321 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01222, allocations: 0 / 0.5321 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01238, allocations: 55.91 kB / 0.5322 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01238, allocations: 0.5 kB / 0.5322 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.01244, allocations: 20.55 kB / 0.5322 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01245, allocations: 7.938 kB / 0.5322 GB, free: 5.832 MB / 0.4948 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 9.325e-05/0.01254, allocations: 167 kB / 0.5323 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.01258, allocations: 39.77 kB / 0.5324 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.01263, allocations: 35.41 kB / 0.5324 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01263, allocations: 4 kB / 0.5324 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01263, allocations: 0 / 0.5324 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01264, allocations: 7.984 kB / 0.5324 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.01289, allocations: 307.3 kB / 0.5327 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01289, allocations: 0 / 0.5327 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.01302, allocations: 51.97 kB / 0.5328 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01303, allocations: 0 / 0.5328 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.01305, allocations: 0 / 0.5328 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01305, allocations: 4 kB / 0.5328 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01305, allocations: 3.984 kB / 0.5328 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.01335, allocations: 339.4 kB / 0.5331 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.01339, allocations: 43.69 kB / 0.5331 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.01342, allocations: 4 kB / 0.5331 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.01349, allocations: 4 kB / 0.5331 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01354, allocations: 17.25 kB / 0.5332 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.01355, allocations: 4 kB / 0.5332 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001985/0.01375, allocations: 283.1 kB / 0.5334 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01375, allocations: 1.281 kB / 0.5334 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003324/0.01408, allocations: 75.84 kB / 0.5335 GB, free: 4.418 MB / 0.4948 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.0001176/0.0142, allocations: 108.6 kB / 0.5336 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.01439, allocations: 87.55 kB / 0.5337 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01439, allocations: 0 / 0.5337 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.01446, allocations: 57.31 kB / 0.5338 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.01482, allocations: 86.91 kB / 0.5338 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.01602, allocations: 0.6517 MB / 0.5345 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.879e-05/0.01609, allocations: 96.3 kB / 0.5346 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.01618, allocations: 32.27 kB / 0.5346 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.01623, allocations: 26.44 kB / 0.5346 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/0.01623, allocations: 0 / 0.5346 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of Templates: time 0.006921/0.02316, allocations: 3.872 MB / 0.5384 GB, free: 15.64 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5424222610890865]