Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001349/0.001349, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001409/0.001409, allocations: 177 kB / 23.49 MB, free: 1.051 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.9501/0.9501, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.7762/0.7762, allocations: 154.8 MB / 415.1 MB, free: 496 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.5206 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.2e-05, allocations: 3.562 kB / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005489/0.005521, allocations: 3.095 MB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.0092, allocations: 2.131 MB / 0.5257 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.009588, allocations: 7.938 kB / 0.5257 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.01153, allocations: 488 kB / 0.5262 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.01203, allocations: 148.4 kB / 0.5263 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.01221, allocations: 62.58 kB / 0.5264 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009314/0.01314, allocations: 457.6 kB / 0.5268 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.01341, allocations: 103.8 kB / 0.5269 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.014, allocations: 247.4 kB / 0.5272 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.01429, allocations: 135.6 kB / 0.5273 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.01435, allocations: 32 kB / 0.5273 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.01441, allocations: 36.59 kB / 0.5274 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.01454, allocations: 103.6 kB / 0.5275 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.01473, allocations: 144.1 kB / 0.5276 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.01519, allocations: 291.9 kB / 0.5279 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.0152, allocations: 0 / 0.5279 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.0152, allocations: 0 / 0.5279 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.01521, allocations: 0.6562 kB / 0.5279 GB, free: 10.78 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00113/0.01634, allocations: 0.7466 MB / 0.5286 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.01639, allocations: 9.062 kB / 0.5286 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.01651, allocations: 60.66 kB / 0.5287 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.01701, allocations: 307.6 kB / 0.529 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.01703, allocations: 20.88 kB / 0.529 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.01708, allocations: 21 kB / 0.529 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.01745, allocations: 164.5 kB / 0.5292 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01746, allocations: 192 / 0.5292 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.01749, allocations: 8.375 kB / 0.5292 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.0175, allocations: 11.94 kB / 0.5292 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.01773, allocations: 78.92 kB / 0.5293 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01891, allocations: 0.6927 MB / 0.5299 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.01915, allocations: 102.7 kB / 0.53 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01928, allocations: 66.14 kB / 0.5301 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.0193, allocations: 4 kB / 0.5301 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.01933, allocations: 41.33 kB / 0.5302 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.01933, allocations: 0 / 0.5302 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.000421/0.01975, allocations: 162.8 kB / 0.5303 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.01979, allocations: 55.41 kB / 0.5304 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.0203, allocations: 442.7 kB / 0.5308 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.02032, allocations: 26.58 kB / 0.5308 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.02051, allocations: 279 kB / 0.5311 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.02058, allocations: 64.59 kB / 0.5311 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.02065, allocations: 39.36 kB / 0.5312 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.02086, allocations: 0.5391 MB / 0.5317 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.02093, allocations: 20.58 kB / 0.5317 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.021, allocations: 31.92 kB / 0.5317 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.02116, allocations: 70.75 kB / 0.5318 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.02116, allocations: 4 kB / 0.5318 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002735/0.02143, allocations: 145.4 kB / 0.532 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.02146, allocations: 4 kB / 0.532 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.02146, allocations: 0 / 0.532 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.02148, allocations: 0 / 0.532 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.02175, allocations: 55.91 kB / 0.532 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.02176, allocations: 7.031 kB / 0.532 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.02188, allocations: 19.81 kB / 0.532 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.0219, allocations: 4 kB / 0.532 GB, free: 6.348 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001254/0.02202, allocations: 160.6 kB / 0.5322 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.02209, allocations: 39.77 kB / 0.5322 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.02216, allocations: 35.41 kB / 0.5323 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.02217, allocations: 4 kB / 0.5323 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.02217, allocations: 5.375 kB / 0.5323 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.02218, allocations: 3.984 kB / 0.5323 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.02262, allocations: 304.4 kB / 0.5326 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02262, allocations: 0 / 0.5326 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.02286, allocations: 49.22 kB / 0.5326 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.02287, allocations: 0 / 0.5326 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.02289, allocations: 8.531 kB / 0.5326 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.0229, allocations: 0 / 0.5326 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.0229, allocations: 0.7812 kB / 0.5326 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.02336, allocations: 341.1 kB / 0.533 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.02343, allocations: 37.25 kB / 0.533 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.02348, allocations: 7.984 kB / 0.533 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.02362, allocations: 4 kB / 0.533 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.02368, allocations: 12.95 kB / 0.533 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02369, allocations: 7.938 kB / 0.533 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003097/0.024, allocations: 287.1 kB / 0.5333 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.024, allocations: 0.5938 kB / 0.5333 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003796/0.02438, allocations: 75.84 kB / 0.5334 GB, free: 4.938 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001505/0.02453, allocations: 108.4 kB / 0.5335 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.02475, allocations: 88.05 kB / 0.5336 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02476, allocations: 1.531 kB / 0.5336 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.02485, allocations: 53.64 kB / 0.5336 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.02542, allocations: 86.61 kB / 0.5337 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.02722, allocations: 0.6592 MB / 0.5343 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.849e-05/0.0273, allocations: 100.8 kB / 0.5344 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.02743, allocations: 26.62 kB / 0.5345 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.02751, allocations: 24.5 kB / 0.5345 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/0.02751, allocations: 0 / 0.5345 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of Templates: time 0.00879/0.0363, allocations: 3.66 MB / 0.5381 GB, free: 376 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6859353680629283]