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.0009817/0.0009817, allocations: 93.06 kB / 19.65 MB, free: 280 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.000957/0.000957, allocations: 173 kB / 23.03 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 0.9317/0.9317, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7313/0.7313, allocations: 154.9 MB / 414.8 MB, free: 384 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.753e-06/1.753e-06, allocations: 0 / 0.5208 GB, free: 1.762 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.057e-05, allocations: 9.469 kB / 0.5208 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002056/0.002077, allocations: 1.481 MB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.005057, allocations: 2.839 MB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.005089, allocations: 0 / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.00511, allocations: 5.281 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.005162, allocations: 15.8 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.007432, allocations: 1.65 MB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.007504, allocations: 47.66 kB / 0.5267 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.007539, allocations: 8.484 kB / 0.5267 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.007572, allocations: 18.17 kB / 0.5267 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.007597, allocations: 11.94 kB / 0.5267 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.007611, allocations: 0 / 0.5267 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.009085, allocations: 1.493 MB / 0.5282 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.009099, allocations: 10.44 kB / 0.5282 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.009124, allocations: 7.938 kB / 0.5282 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.01045, allocations: 1.282 MB / 0.5294 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01045, allocations: 4 kB / 0.5294 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.91e-07/0.01045, allocations: 0 / 0.5294 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.01046, allocations: 0 / 0.5294 GB, free: 8.918 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.0004722/0.01093, allocations: 0.5629 MB / 0.53 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.01098, allocations: 12.75 kB / 0.53 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.01104, allocations: 124.1 kB / 0.5301 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.01116, allocations: 243.7 kB / 0.5304 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.01122, allocations: 238.8 kB / 0.5306 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.01128, allocations: 242.7 kB / 0.5308 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.355e-05/0.01135, allocations: 154.4 kB / 0.531 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.01138, allocations: 119.4 kB / 0.5311 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.01144, allocations: 242.5 kB / 0.5313 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-05/0.0115, allocations: 243.3 kB / 0.5315 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.01156, allocations: 246.4 kB / 0.5318 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.0118, allocations: 0.5813 MB / 0.5323 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.534e-05/0.0119, allocations: 269.4 kB / 0.5326 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.01194, allocations: 130.9 kB / 0.5327 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01197, allocations: 119.2 kB / 0.5328 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.01201, allocations: 157.9 kB / 0.533 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01201, allocations: 0 / 0.533 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.277e-05/0.01208, allocations: 33.66 kB / 0.533 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.01214, allocations: 179.1 kB / 0.5332 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.01228, allocations: 192.1 kB / 0.5334 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.01229, allocations: 26.55 kB / 0.5334 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.01235, allocations: 138.9 kB / 0.5335 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.01235, allocations: 5.312 kB / 0.5335 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.01238, allocations: 23.36 kB / 0.5336 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01251, allocations: 0.4884 MB / 0.534 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.01253, allocations: 0 / 0.534 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.01254, allocations: 9.078 kB / 0.534 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.01258, allocations: 11.69 kB / 0.5341 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01258, allocations: 0 / 0.5341 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001257/0.0127, allocations: 54.44 kB / 0.5341 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01272, allocations: 4 kB / 0.5341 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.01274, allocations: 4.594 kB / 0.5341 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01276, allocations: 1.031 kB / 0.5341 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-06/0.01276, allocations: 3.938 kB / 0.5341 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.01277, allocations: 7.922 kB / 0.5341 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.01278, allocations: 4.938 kB / 0.5341 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01279, allocations: 0 / 0.5341 GB, free: 3.91 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 9.66e-05/0.01289, allocations: 272.7 kB / 0.5344 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.01293, allocations: 156.8 kB / 0.5345 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.01298, allocations: 153.5 kB / 0.5347 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.01304, allocations: 272 kB / 0.535 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-05/0.0131, allocations: 278.4 kB / 0.5352 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/0.01316, allocations: 268 kB / 0.5355 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.01334, allocations: 0.496 MB / 0.536 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/0.01338, allocations: 144.9 kB / 0.5361 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.01361, allocations: 152.8 kB / 0.5362 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.237e-05/0.01368, allocations: 268.2 kB / 0.5365 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.01374, allocations: 272 kB / 0.5368 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.702e-05/0.0138, allocations: 270.9 kB / 0.537 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.145e-05/0.01386, allocations: 272 kB / 0.5373 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01399, allocations: 447.9 kB / 0.5377 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.01405, allocations: 156.8 kB / 0.5379 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.01412, allocations: 272.1 kB / 0.5381 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.01418, allocations: 148.8 kB / 0.5383 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.01425, allocations: 276 kB / 0.5385 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.01429, allocations: 146.3 kB / 0.5387 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.01434, allocations: 145.8 kB / 0.5388 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01434, allocations: 0 / 0.5388 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004363/0.01478, allocations: 298.9 kB / 0.5391 GB, free: 14.66 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.0007937/0.01557, allocations: 0.635 MB / 0.5397 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01568, allocations: 46.28 kB / 0.5397 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01568, allocations: 0 / 0.5397 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.01568, allocations: 0 / 0.5397 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.01604, allocations: 0.7113 MB / 0.5404 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.01635, allocations: 282.6 kB / 0.5407 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.01638, allocations: 55.91 kB / 0.5408 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.137e-05/0.01639, allocations: 0.5625 kB / 0.5408 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.01641, allocations: 12.5 kB / 0.5408 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of SimCode: time 9.41e-07/0.01641, allocations: 0.9375 kB / 0.5408 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.0088/0.02521, allocations: 8.039 MB / 0.5486 GB, free: 4.984 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: 3.8808427271433175]