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.InternalResistancesOneUTubeNegative.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.001543/0.001543, 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.002077/0.002077, allocations: 169 kB / 23.02 MB, free: 1.551 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.024/1.024, 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.7317/0.7317, allocations: 154.9 MB / 414.8 MB, free: 404 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5208 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.185e-05, allocations: 2.312 kB / 0.5208 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00188/0.001902, allocations: 1.487 MB / 0.5222 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.005683, allocations: 2.795 MB / 0.525 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.005742, allocations: 0 / 0.525 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.005779, allocations: 4.547 kB / 0.525 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.005858, allocations: 13.33 kB / 0.525 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.009804, allocations: 1.625 MB / 0.5266 GB, free: 10.75 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.00992, allocations: 43.69 kB / 0.5266 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.009973, allocations: 7.922 kB / 0.5266 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.01004, allocations: 24.94 kB / 0.5266 GB, free: 10.67 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.01007, allocations: 11.94 kB / 0.5266 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.01009, allocations: 1.375 kB / 0.5266 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.01226, allocations: 1.454 MB / 0.5281 GB, free: 9.203 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.01228, allocations: 6.734 kB / 0.5281 GB, free: 9.199 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.01232, allocations: 11.94 kB / 0.5281 GB, free: 9.188 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.01375, allocations: 1.247 MB / 0.5293 GB, free: 7.938 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01375, allocations: 0 / 0.5293 GB, free: 7.938 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01375, allocations: 0 / 0.5293 GB, free: 7.938 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.01376, allocations: 0 / 0.5293 GB, free: 7.938 MB / 458.7 MB 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.0005449/0.0143, allocations: 0.5687 MB / 0.5299 GB, free: 7.332 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.01435, allocations: 8.031 kB / 0.5299 GB, free: 7.324 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.01442, allocations: 130.4 kB / 0.53 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.01455, allocations: 237.9 kB / 0.5302 GB, free: 6.941 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.01462, allocations: 242.8 kB / 0.5304 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.01468, allocations: 238.8 kB / 0.5307 GB, free: 6.469 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.065e-05/0.01475, allocations: 145.5 kB / 0.5308 GB, free: 6.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.01478, allocations: 123.3 kB / 0.5309 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.01485, allocations: 247.3 kB / 0.5312 GB, free: 5.957 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.01491, allocations: 242.3 kB / 0.5314 GB, free: 5.719 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/0.01497, allocations: 243.2 kB / 0.5316 GB, free: 5.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.01524, allocations: 0.5836 MB / 0.5322 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.01534, allocations: 270.1 kB / 0.5325 GB, free: 4.586 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.01538, allocations: 130.8 kB / 0.5326 GB, free: 4.453 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.01551, allocations: 122.6 kB / 0.5327 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.01555, allocations: 152.6 kB / 0.5328 GB, free: 4.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.01555, allocations: 4 kB / 0.5328 GB, free: 4.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.65e-05/0.01561, allocations: 25.75 kB / 0.5329 GB, free: 4.141 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.01567, allocations: 178.5 kB / 0.533 GB, free: 3.953 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.0158, allocations: 193.9 kB / 0.5332 GB, free: 3.746 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.01581, allocations: 25.7 kB / 0.5333 GB, free: 3.715 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.01586, allocations: 138.8 kB / 0.5334 GB, free: 3.574 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.01586, allocations: 0 / 0.5334 GB, free: 3.574 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.01589, allocations: 26.31 kB / 0.5334 GB, free: 3.543 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01601, allocations: 0.4884 MB / 0.5339 GB, free: 3.043 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.01602, allocations: 3.938 kB / 0.5339 GB, free: 3.039 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.01603, allocations: 4 kB / 0.5339 GB, free: 3.035 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.01607, allocations: 15.69 kB / 0.5339 GB, free: 3.016 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01607, allocations: 0 / 0.5339 GB, free: 3.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001143/0.01618, allocations: 45.72 kB / 0.534 GB, free: 2.965 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.0162, allocations: 9.625 kB / 0.534 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.01621, allocations: 0 / 0.534 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.01622, allocations: 0 / 0.534 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.01623, allocations: 3.938 kB / 0.534 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01623, allocations: 4 kB / 0.534 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.01625, allocations: 10.58 kB / 0.534 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.01626, allocations: 0 / 0.534 GB, free: 2.941 MB / 458.7 MB 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.066e-05/0.01635, allocations: 287.7 kB / 0.5343 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.01639, allocations: 144.9 kB / 0.5344 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.01644, allocations: 156.7 kB / 0.5345 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/0.01649, allocations: 268 kB / 0.5348 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/0.01656, allocations: 278.4 kB / 0.5351 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/0.01662, allocations: 272 kB / 0.5353 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.01678, allocations: 0.4921 MB / 0.5358 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.01681, allocations: 144.9 kB / 0.5359 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.01684, allocations: 152.8 kB / 0.5361 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.895e-05/0.0169, allocations: 268.1 kB / 0.5363 GB, free: 416 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.01697, allocations: 276.2 kB / 0.5366 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-05/0.01704, allocations: 269.2 kB / 0.5369 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.745e-05/0.01711, allocations: 268.1 kB / 0.5371 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.01724, allocations: 451.8 kB / 0.5375 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.01729, allocations: 163 kB / 0.5377 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.01736, allocations: 264.1 kB / 0.538 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.01742, allocations: 148.9 kB / 0.5381 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.01749, allocations: 272 kB / 0.5384 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.01752, allocations: 148.9 kB / 0.5385 GB, free: 14.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.01758, allocations: 145.4 kB / 0.5386 GB, free: 13.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01758, allocations: 0.875 kB / 0.5386 GB, free: 13.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.01807, allocations: 295 kB / 0.5389 GB, free: 13.68 MB / 474.7 MB 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.0008219/0.01889, allocations: 0.6107 MB / 0.5395 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.569e-05/0.01898, allocations: 50.44 kB / 0.5396 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01898, allocations: 0 / 0.5396 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.01899, allocations: 0.9062 kB / 0.5396 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.01946, allocations: 0.711 MB / 0.5403 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.01977, allocations: 283.9 kB / 0.5405 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.0198, allocations: 55.36 kB / 0.5406 GB, free: 11.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.158e-05/0.01981, allocations: 0 / 0.5406 GB, free: 11.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.01983, allocations: 13.16 kB / 0.5406 GB, free: 11.91 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01983, allocations: 0 / 0.5406 GB, free: 11.91 MB / 474.7 MB Notification: Performance of Templates: time 0.009865/0.02969, allocations: 7.841 MB / 0.5483 GB, free: 4.25 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.103427683934569]