Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001609/0.001609, allocations: 93.06 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.001345/0.001345, allocations: 165 kB / 23.02 MB, free: 1.547 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.735/0.735, allocations: 154.8 MB / 414.7 MB, free: 492 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5206 GB, free: 1.711 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.301e-05, allocations: 7.125 kB / 0.5207 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.005736/0.005769, allocations: 1.485 MB / 0.5221 GB, free: 240 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007621/0.01339, allocations: 2.832 MB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.01346, allocations: 1.594 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.01349, allocations: 3.938 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.01356, allocations: 23.78 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.02027, allocations: 1.647 MB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.02041, allocations: 47.67 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.02046, allocations: 3.984 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.02051, allocations: 19.97 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.394e-05/0.02055, allocations: 17.44 kB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.02057, allocations: 0 / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.02315, allocations: 1.494 MB / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.02318, allocations: 4.969 kB / 0.5281 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.02323, allocations: 8 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.02555, allocations: 1.286 MB / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.02555, allocations: 0.9688 kB / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.545e-06/0.02556, allocations: 0 / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.02556, allocations: 0 / 0.5293 GB, free: 8.871 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006358/0.0262, allocations: 0.5653 MB / 0.5299 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.02625, allocations: 15.25 kB / 0.5299 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.02631, allocations: 124.1 kB / 0.53 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.02642, allocations: 239.7 kB / 0.5302 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.02648, allocations: 238.8 kB / 0.5305 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.02654, allocations: 238.8 kB / 0.5307 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.809e-05/0.0266, allocations: 153.4 kB / 0.5308 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.02663, allocations: 119.4 kB / 0.5309 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.02669, allocations: 246.5 kB / 0.5312 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/0.02675, allocations: 238.4 kB / 0.5314 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.0268, allocations: 244.8 kB / 0.5316 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.02706, allocations: 0.5876 MB / 0.5322 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.02716, allocations: 265.4 kB / 0.5325 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.02719, allocations: 126.9 kB / 0.5326 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.02722, allocations: 123.2 kB / 0.5327 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.02727, allocations: 156.6 kB / 0.5329 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.315e-06/0.02727, allocations: 1.094 kB / 0.5329 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.954e-05/0.02734, allocations: 33.66 kB / 0.5329 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.0274, allocations: 178.5 kB / 0.5331 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.02754, allocations: 192.9 kB / 0.5332 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.02755, allocations: 25.7 kB / 0.5333 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.0276, allocations: 144 kB / 0.5334 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.02761, allocations: 3.938 kB / 0.5334 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.02764, allocations: 23.36 kB / 0.5334 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.02777, allocations: 0.489 MB / 0.5339 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.02779, allocations: 0 / 0.5339 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.0278, allocations: 5.5 kB / 0.5339 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.02784, allocations: 23.73 kB / 0.5339 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02784, allocations: 0 / 0.5339 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.02796, allocations: 45.66 kB / 0.534 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.02797, allocations: 5.188 kB / 0.534 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.02799, allocations: 4 kB / 0.534 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.028, allocations: 0 / 0.534 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-06/0.02801, allocations: 4.531 kB / 0.534 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.02801, allocations: 3.938 kB / 0.534 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.02803, allocations: 12.66 kB / 0.534 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.02804, allocations: 3.938 kB / 0.534 GB, free: 3.855 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.838e-05/0.02813, allocations: 277.3 kB / 0.5343 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.02817, allocations: 148.9 kB / 0.5344 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.02822, allocations: 152.7 kB / 0.5346 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-05/0.02829, allocations: 273 kB / 0.5348 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.843e-05/0.02834, allocations: 272 kB / 0.5351 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/0.0284, allocations: 272 kB / 0.5353 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.02856, allocations: 0.4927 MB / 0.5358 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.02859, allocations: 145.5 kB / 0.536 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.02863, allocations: 148.8 kB / 0.5361 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.886e-05/0.02869, allocations: 276.9 kB / 0.5364 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.02889, allocations: 272.6 kB / 0.5366 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.303e-05/0.02895, allocations: 264.1 kB / 0.5369 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-05/0.029, allocations: 273.5 kB / 0.5371 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.02913, allocations: 447.9 kB / 0.5376 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.02918, allocations: 160.8 kB / 0.5377 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.02925, allocations: 264.1 kB / 0.538 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.02931, allocations: 154.8 kB / 0.5381 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.02937, allocations: 276 kB / 0.5384 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.0294, allocations: 144.9 kB / 0.5385 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.02946, allocations: 141.5 kB / 0.5387 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02946, allocations: 4 kB / 0.5387 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006066/0.03006, allocations: 297.4 kB / 0.5389 GB, free: 14.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0008817/0.03095, allocations: 0.6377 MB / 0.5396 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.03104, allocations: 45.39 kB / 0.5396 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03105, allocations: 0 / 0.5396 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.03105, allocations: 3.984 kB / 0.5396 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.03138, allocations: 0.7068 MB / 0.5403 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.03166, allocations: 283 kB / 0.5406 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.03169, allocations: 56.22 kB / 0.5406 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.218e-05/0.0317, allocations: 0 / 0.5406 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.03172, allocations: 15.03 kB / 0.5406 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.03172, allocations: 0 / 0.5406 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.007501/0.03922, allocations: 5.971 MB / 0.5465 GB, free: 7.016 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.116533042863011]