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.002286/0.002286, allocations: 85.48 kB / 19.44 MB, free: 348 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.002698/0.002698, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 178] 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 1.296/1.296, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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 2.335e-06/2.335e-06, allocations: 0 / 0.52 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.931e-05/5.165e-05, allocations: 4.766 kB / 0.52 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003357/0.003409, allocations: 1.452 MB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005879/0.009287, allocations: 2.831 MB / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.009346, allocations: 0 / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.009367, allocations: 7.922 kB / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.009452, allocations: 16.58 kB / 0.5242 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.01405, allocations: 1.64 MB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.01416, allocations: 50.42 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.0142, allocations: 7.984 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.01425, allocations: 11.98 kB / 0.5258 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.01428, allocations: 15.94 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.01429, allocations: 4 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.01698, allocations: 1.491 MB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.017, allocations: 7.938 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.01703, allocations: 8 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.01923, allocations: 1.278 MB / 0.5286 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.01924, allocations: 0 / 0.5286 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01924, allocations: 3.938 kB / 0.5286 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.01925, allocations: 0.875 kB / 0.5286 GB, free: 9.41 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.0007804/0.02003, allocations: 0.5567 MB / 0.5291 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.02008, allocations: 12.81 kB / 0.5291 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.02018, allocations: 128 kB / 0.5293 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.02039, allocations: 248 kB / 0.5295 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.02052, allocations: 238.8 kB / 0.5297 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.02065, allocations: 238.8 kB / 0.53 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.02076, allocations: 153.4 kB / 0.5301 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.425e-05/0.02083, allocations: 119.4 kB / 0.5302 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.02095, allocations: 246.5 kB / 0.5305 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.02107, allocations: 239.2 kB / 0.5307 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.0212, allocations: 238.4 kB / 0.5309 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.02165, allocations: 0.5876 MB / 0.5315 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.02184, allocations: 266 kB / 0.5317 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.02191, allocations: 130.3 kB / 0.5319 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.704e-05/0.02198, allocations: 123.2 kB / 0.532 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.743e-05/0.02208, allocations: 156.6 kB / 0.5321 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.02208, allocations: 0 / 0.5321 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.817e-05/0.02217, allocations: 33.66 kB / 0.5322 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.02227, allocations: 178.5 kB / 0.5323 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.02248, allocations: 189.9 kB / 0.5325 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.0225, allocations: 25.7 kB / 0.5325 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.0226, allocations: 138.9 kB / 0.5327 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.0226, allocations: 6.938 kB / 0.5327 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.02265, allocations: 27.36 kB / 0.5327 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.02291, allocations: 496.1 kB / 0.5332 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.02293, allocations: 4 kB / 0.5332 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.02296, allocations: 11.98 kB / 0.5332 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.023, allocations: 11.69 kB / 0.5332 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.023, allocations: 0 / 0.5332 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.02316, allocations: 53.66 kB / 0.5332 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.02317, allocations: 6.938 kB / 0.5333 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.0232, allocations: 4 kB / 0.5333 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.02321, allocations: 0.6562 kB / 0.5333 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.02322, allocations: 3.938 kB / 0.5333 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.02322, allocations: 8.672 kB / 0.5333 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.02325, allocations: 3.938 kB / 0.5333 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.02326, allocations: 4.531 kB / 0.5333 GB, free: 4.398 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 0.0001742/0.02343, allocations: 273 kB / 0.5335 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.02354, allocations: 160.8 kB / 0.5337 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.02363, allocations: 152.7 kB / 0.5338 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000151/0.02378, allocations: 274.8 kB / 0.5341 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001383/0.02392, allocations: 272.1 kB / 0.5344 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001406/0.02406, allocations: 272 kB / 0.5346 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.02449, allocations: 0.4921 MB / 0.5351 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.972e-05/0.02457, allocations: 148.9 kB / 0.5352 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.02466, allocations: 152.8 kB / 0.5354 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.02479, allocations: 264.1 kB / 0.5356 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.02494, allocations: 272.2 kB / 0.5359 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001461/0.02508, allocations: 274.5 kB / 0.5362 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000155/0.02524, allocations: 268 kB / 0.5364 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.02552, allocations: 451.9 kB / 0.5368 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.02564, allocations: 156.8 kB / 0.537 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.02579, allocations: 272.1 kB / 0.5373 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.02591, allocations: 148.8 kB / 0.5374 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.02606, allocations: 281 kB / 0.5377 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.02614, allocations: 144.9 kB / 0.5378 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001089/0.02624, allocations: 143.2 kB / 0.5379 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02624, allocations: 1.281 kB / 0.5379 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009963/0.02724, allocations: 295 kB / 0.5382 GB, free: 15.14 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.001313/0.02855, allocations: 0.6342 MB / 0.5388 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.02868, allocations: 49.38 kB / 0.5389 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02869, allocations: 0.9375 kB / 0.5389 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.02869, allocations: 0 / 0.5389 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.02929, allocations: 0.7073 MB / 0.5396 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.02971, allocations: 287.5 kB / 0.5399 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.02978, allocations: 67.33 kB / 0.5399 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.0298, allocations: 4 kB / 0.5399 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.02982, allocations: 8.5 kB / 0.5399 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.02982, allocations: 0 / 0.5399 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.01221/0.04203, allocations: 5.98 MB / 0.5458 GB, free: 7.523 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: 6.502161015989259]