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.001254/0.001254, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001458/0.001458, allocations: 169 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.9145/0.9145, 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.7398/0.7398, allocations: 154.9 MB / 415.9 MB, free: 272 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.392e-06/1.392e-06, allocations: 0 / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.698e-05, allocations: 4 kB / 0.522 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00352/0.003537, allocations: 3.041 MB / 0.5249 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003044/0.006581, allocations: 2.117 MB / 0.527 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.006783, allocations: 4 kB / 0.527 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.008059, allocations: 494 kB / 0.5275 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.008279, allocations: 144.8 kB / 0.5276 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.008392, allocations: 61.39 kB / 0.5277 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.008746, allocations: 464.5 kB / 0.5281 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.0089, allocations: 99.81 kB / 0.5282 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.009168, allocations: 248.3 kB / 0.5284 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.009329, allocations: 143.6 kB / 0.5286 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.009362, allocations: 33.19 kB / 0.5286 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.0094, allocations: 36 kB / 0.5286 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.009481, allocations: 99.61 kB / 0.5287 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.009585, allocations: 145 kB / 0.5289 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.009832, allocations: 286.9 kB / 0.5291 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.009835, allocations: 0 / 0.5291 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.009835, allocations: 0 / 0.5291 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.00984, allocations: 0.8125 kB / 0.5291 GB, free: 10.14 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.0006677/0.01051, allocations: 0.7511 MB / 0.5299 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01054, allocations: 8.031 kB / 0.5299 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.01061, allocations: 64.66 kB / 0.5299 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.01087, allocations: 305.3 kB / 0.5302 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.01089, allocations: 16.88 kB / 0.5303 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.01092, allocations: 20.38 kB / 0.5303 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.01109, allocations: 145.4 kB / 0.5304 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.0111, allocations: 192 / 0.5304 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.01111, allocations: 12.38 kB / 0.5304 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01112, allocations: 8.875 kB / 0.5304 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.01121, allocations: 61.44 kB / 0.5305 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.01183, allocations: 0.6184 MB / 0.5311 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.01197, allocations: 101.3 kB / 0.5312 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.01202, allocations: 56.23 kB / 0.5312 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.01203, allocations: 1.406 kB / 0.5312 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.01205, allocations: 37.39 kB / 0.5313 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.01205, allocations: 3.984 kB / 0.5313 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0002069/0.01226, allocations: 143.6 kB / 0.5314 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01229, allocations: 65.72 kB / 0.5315 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.01254, allocations: 430.6 kB / 0.5319 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.01256, allocations: 29.7 kB / 0.5319 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01269, allocations: 283 kB / 0.5322 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.01273, allocations: 63.42 kB / 0.5323 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.01278, allocations: 43.34 kB / 0.5323 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01293, allocations: 0.5418 MB / 0.5328 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.01296, allocations: 15.98 kB / 0.5328 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.01298, allocations: 15.98 kB / 0.5329 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.01305, allocations: 62.77 kB / 0.5329 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01305, allocations: 3.984 kB / 0.5329 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001343/0.01319, allocations: 137.3 kB / 0.5331 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.0132, allocations: 4 kB / 0.5331 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.0132, allocations: 0 / 0.5331 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.01321, allocations: 0.7188 kB / 0.5331 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01335, allocations: 57.22 kB / 0.5331 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01335, allocations: 0 / 0.5331 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.01342, allocations: 15.88 kB / 0.5331 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01343, allocations: 7.906 kB / 0.5331 GB, free: 5.879 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 8.852e-05/0.01351, allocations: 168.5 kB / 0.5333 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.01355, allocations: 39.77 kB / 0.5333 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.0136, allocations: 35.41 kB / 0.5334 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.0136, allocations: 4 kB / 0.5334 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.0136, allocations: 0 / 0.5334 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01361, allocations: 0 / 0.5334 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.01383, allocations: 233 kB / 0.5336 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01383, allocations: 4 kB / 0.5336 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.01396, allocations: 54.94 kB / 0.5336 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01396, allocations: 0 / 0.5336 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01397, allocations: 4 kB / 0.5337 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.01397, allocations: 0 / 0.5337 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01397, allocations: 3.938 kB / 0.5337 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.01443, allocations: 317.7 kB / 0.534 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.01446, allocations: 39.69 kB / 0.534 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.01449, allocations: 8 kB / 0.534 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.01456, allocations: 7.453 kB / 0.534 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.01459, allocations: 15.92 kB / 0.534 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.01459, allocations: 4 kB / 0.534 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001446/0.01474, allocations: 275 kB / 0.5343 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01474, allocations: 0 / 0.5343 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001947/0.01493, allocations: 75.84 kB / 0.5344 GB, free: 4.57 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 8.088e-05/0.01501, allocations: 107.2 kB / 0.5345 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01513, allocations: 80.25 kB / 0.5345 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01513, allocations: 0 / 0.5345 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.01518, allocations: 51.59 kB / 0.5346 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01549, allocations: 77.89 kB / 0.5347 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.01635, allocations: 0.6424 MB / 0.5353 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.01641, allocations: 100.3 kB / 0.5354 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.026e-05/0.01649, allocations: 36.59 kB / 0.5354 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.01663, allocations: 135.8 kB / 0.5356 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01664, allocations: 0 / 0.5356 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of Templates: time 0.006152/0.02279, allocations: 4.05 MB / 0.5395 GB, free: 15.54 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.4164386889897287]