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.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.0009939/0.0009939, allocations: 92.22 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.0009669/0.0009669, allocations: 173 kB / 23.03 MB, free: 1.543 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.9115/0.9115, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7752/0.7752, 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 0.5208 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.242e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001901/0.001924, allocations: 1.465 MB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.00555, allocations: 2.81 MB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.005597, allocations: 0.625 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.005621, allocations: 5.156 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.00568, allocations: 11.91 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.008133, allocations: 1.618 MB / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.008206, allocations: 47.66 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.008237, allocations: 9.719 kB / 0.5266 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.008273, allocations: 15.98 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.231e-05/0.008296, allocations: 15.92 kB / 0.5266 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.008308, allocations: 0 / 0.5266 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.00977, allocations: 1.459 MB / 0.5281 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.009783, allocations: 3.984 kB / 0.5281 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.009807, allocations: 16.72 kB / 0.5281 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.01092, allocations: 1.247 MB / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01092, allocations: 2.406 kB / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01092, allocations: 0 / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.01093, allocations: 0 / 0.5293 GB, free: 9.031 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.0004418/0.01137, allocations: 0.557 MB / 0.5299 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01141, allocations: 8.75 kB / 0.5299 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.01147, allocations: 124.1 kB / 0.53 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.01159, allocations: 235.8 kB / 0.5302 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.01187, allocations: 239.6 kB / 0.5304 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.01194, allocations: 246.8 kB / 0.5307 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.012, allocations: 154 kB / 0.5308 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.01203, allocations: 119.4 kB / 0.5309 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.01208, allocations: 243.1 kB / 0.5312 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.01214, allocations: 249.4 kB / 0.5314 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.0122, allocations: 238.4 kB / 0.5316 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.01243, allocations: 0.5836 MB / 0.5322 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.01253, allocations: 269.4 kB / 0.5325 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.01256, allocations: 130.9 kB / 0.5326 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01259, allocations: 119.2 kB / 0.5327 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.01263, allocations: 152.6 kB / 0.5328 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.01263, allocations: 0 / 0.5328 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.599e-05/0.01269, allocations: 32.88 kB / 0.5329 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.01275, allocations: 182.5 kB / 0.533 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.01287, allocations: 191.4 kB / 0.5332 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.01288, allocations: 29.64 kB / 0.5333 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.01294, allocations: 142.9 kB / 0.5334 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.01294, allocations: 0 / 0.5334 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.01296, allocations: 19.38 kB / 0.5334 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.01307, allocations: 0.4884 MB / 0.5339 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.01309, allocations: 4.766 kB / 0.5339 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.0131, allocations: 4 kB / 0.5339 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.01313, allocations: 12.56 kB / 0.5339 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01313, allocations: 0 / 0.5339 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001058/0.01324, allocations: 48.75 kB / 0.5339 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01325, allocations: 6.188 kB / 0.534 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.01327, allocations: 4 kB / 0.534 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01328, allocations: 0 / 0.534 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-06/0.01329, allocations: 7.875 kB / 0.534 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01329, allocations: 0 / 0.534 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.01331, allocations: 11.89 kB / 0.534 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.01331, allocations: 0 / 0.534 GB, free: 4.043 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.334e-05/0.01341, allocations: 275.6 kB / 0.5342 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.01345, allocations: 152.8 kB / 0.5344 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.0135, allocations: 164.6 kB / 0.5345 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-05/0.01357, allocations: 264.1 kB / 0.5348 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-05/0.01363, allocations: 268 kB / 0.5351 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/0.0137, allocations: 276 kB / 0.5353 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.01386, allocations: 0.4921 MB / 0.5358 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/0.0139, allocations: 160.8 kB / 0.5359 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.01394, allocations: 144.9 kB / 0.5361 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.439e-05/0.014, allocations: 264.1 kB / 0.5363 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.01407, allocations: 274.8 kB / 0.5366 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.36e-05/0.01413, allocations: 268.1 kB / 0.5369 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.976e-05/0.01419, allocations: 272 kB / 0.5371 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01432, allocations: 448 kB / 0.5375 GB, free: 240 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.0146, allocations: 156.8 kB / 0.5377 GB, free: 76 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.01468, allocations: 268.1 kB / 0.5379 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.01473, allocations: 152.8 kB / 0.5381 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.0148, allocations: 268.6 kB / 0.5383 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.01483, allocations: 148.9 kB / 0.5385 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.01488, allocations: 148.2 kB / 0.5386 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01488, allocations: 3.938 kB / 0.5386 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004374/0.01532, allocations: 291 kB / 0.5389 GB, free: 14.79 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.0007678/0.01608, allocations: 0.6171 MB / 0.5395 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.411e-05/0.01618, allocations: 41.39 kB / 0.5396 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01618, allocations: 4 kB / 0.5396 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01618, allocations: 1.062 kB / 0.5396 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.01653, allocations: 0.7062 MB / 0.5403 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.01681, allocations: 280.7 kB / 0.5405 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.01684, allocations: 59.34 kB / 0.5406 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.198e-05/0.01686, allocations: 6.469 kB / 0.5406 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.01687, allocations: 8.5 kB / 0.5406 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.01687, allocations: 0 / 0.5406 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.00924/0.02611, allocations: 7.85 MB / 0.5483 GB, free: 5.336 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.930277056992054]