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.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.0009858/0.0009858, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001063/0.001063, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9214/0.9214, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7331/0.7331, allocations: 154.9 MB / 415.9 MB, free: 268 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.5219 GB, free: 1.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.439e-05, allocations: 3.562 kB / 0.522 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003593/0.003607, allocations: 4.132 MB / 0.526 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.005718, allocations: 2.388 MB / 0.5283 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.005896, allocations: 8 kB / 0.5283 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000974/0.00687, allocations: 0.5193 MB / 0.5288 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.007116, allocations: 257 kB / 0.5291 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.007256, allocations: 143.8 kB / 0.5292 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.007749, allocations: 0.8338 MB / 0.53 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.007996, allocations: 218.9 kB / 0.5302 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.008367, allocations: 464 kB / 0.5307 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.008595, allocations: 259.3 kB / 0.5309 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.00865, allocations: 72.62 kB / 0.531 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.008714, allocations: 76 kB / 0.5311 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.009081, allocations: 178.6 kB / 0.5312 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.009257, allocations: 259.4 kB / 0.5315 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.009615, allocations: 0.506 MB / 0.532 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.009617, allocations: 0 / 0.532 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.12e-07/0.009617, allocations: 0 / 0.532 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.009623, allocations: 0 / 0.532 GB, free: 7.07 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008229/0.01045, allocations: 1.014 MB / 0.533 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.01048, allocations: 12.03 kB / 0.533 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.01057, allocations: 112.5 kB / 0.5331 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.01087, allocations: 371.3 kB / 0.5334 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.01089, allocations: 38.03 kB / 0.5335 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.01094, allocations: 48.38 kB / 0.5335 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.01126, allocations: 282.5 kB / 0.5338 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01128, allocations: 4.141 kB / 0.5338 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.0113, allocations: 20.38 kB / 0.5338 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.01131, allocations: 15.94 kB / 0.5338 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.01148, allocations: 154.8 kB / 0.534 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.0125, allocations: 1.109 MB / 0.5351 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.01268, allocations: 199.7 kB / 0.5353 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.01284, allocations: 171.3 kB / 0.5354 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.01285, allocations: 10.64 kB / 0.5354 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.01287, allocations: 41.39 kB / 0.5355 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.362e-06/0.01287, allocations: 0 / 0.5355 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0003125/0.01318, allocations: 293.4 kB / 0.5358 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01321, allocations: 59.19 kB / 0.5358 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.01348, allocations: 467.2 kB / 0.5363 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01349, allocations: 29.7 kB / 0.5363 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.01364, allocations: 364.6 kB / 0.5366 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.01371, allocations: 146.7 kB / 0.5368 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.01378, allocations: 71.69 kB / 0.5368 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.01392, allocations: 0.5469 MB / 0.5374 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.01397, allocations: 45.67 kB / 0.5374 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.01402, allocations: 45.22 kB / 0.5375 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01415, allocations: 141.8 kB / 0.5376 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01415, allocations: 0 / 0.5376 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002194/0.01437, allocations: 253.1 kB / 0.5378 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01439, allocations: 8.656 kB / 0.5378 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01439, allocations: 0 / 0.5378 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.0144, allocations: 0.5625 kB / 0.5378 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.01465, allocations: 125.4 kB / 0.538 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01466, allocations: 7.938 kB / 0.538 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.01474, allocations: 31.78 kB / 0.538 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.01475, allocations: 5.969 kB / 0.538 GB, free: 0.7188 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 (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.0003509/0.0151, allocations: 172.5 kB / 0.5382 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.01516, allocations: 67.67 kB / 0.5382 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.01521, allocations: 52.8 kB / 0.5383 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01522, allocations: 8 kB / 0.5383 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.01522, allocations: 2.438 kB / 0.5383 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01522, allocations: 3.938 kB / 0.5383 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.01551, allocations: 344.8 kB / 0.5386 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01551, allocations: 0 / 0.5386 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.01578, allocations: 127.8 kB / 0.5387 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01578, allocations: 1.812 kB / 0.5388 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.01579, allocations: 15.94 kB / 0.5388 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.0158, allocations: 0 / 0.5388 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0158, allocations: 0 / 0.5388 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.01615, allocations: 477.3 kB / 0.5392 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.01619, allocations: 55.64 kB / 0.5393 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.01622, allocations: 4 kB / 0.5393 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.01632, allocations: 13.28 kB / 0.5393 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.01635, allocations: 19.95 kB / 0.5393 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01636, allocations: 8 kB / 0.5393 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001487/0.01651, allocations: 295 kB / 0.5396 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01651, allocations: 1.719 kB / 0.5396 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002348/0.01675, allocations: 151.7 kB / 0.5397 GB, free: 14.89 MB / 0.5105 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 8.209e-05/0.01683, allocations: 119.7 kB / 0.5399 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.01702, allocations: 171.4 kB / 0.54 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01702, allocations: 0.9375 kB / 0.54 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.01711, allocations: 111.6 kB / 0.5401 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.01745, allocations: 107.6 kB / 0.5402 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.01855, allocations: 1.019 MB / 0.5412 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.051e-05/0.01862, allocations: 130.4 kB / 0.5414 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.942e-05/0.01872, allocations: 37.55 kB / 0.5414 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.01889, allocations: 166.1 kB / 0.5415 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.01889, allocations: 0.5312 kB / 0.5415 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.007543/0.02643, allocations: 5.545 MB / 0.547 GB, free: 7.727 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.517163449898362]