Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001353/0.001353, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001392/0.001392, allocations: 173 kB / 23.49 MB, free: 1.059 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.9268/0.9268, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7475/0.7475, allocations: 154.6 MB / 414.9 MB, free: 0.6953 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5204 GB, free: 1.383 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.407e-05, allocations: 3.531 kB / 0.5204 GB, free: 1.379 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002949/0.002963, allocations: 3.104 MB / 0.5234 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005151, allocations: 2.131 MB / 0.5255 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.005292, allocations: 4 kB / 0.5255 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.00628, allocations: 480.3 kB / 0.526 GB, free: 11.69 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.006443, allocations: 140.4 kB / 0.5261 GB, free: 11.55 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.1e-05/0.006534, allocations: 66.2 kB / 0.5262 GB, free: 11.49 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.006871, allocations: 465.5 kB / 0.5266 GB, free: 11.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.007027, allocations: 95.83 kB / 0.5267 GB, free: 10.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.007281, allocations: 247.4 kB / 0.5269 GB, free: 10.69 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.00743, allocations: 139.6 kB / 0.5271 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.007463, allocations: 32 kB / 0.5271 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-05/0.007499, allocations: 36.56 kB / 0.5271 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.007588, allocations: 100.2 kB / 0.5272 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.007693, allocations: 143.6 kB / 0.5274 GB, free: 10.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.007958, allocations: 291.8 kB / 0.5277 GB, free: 9.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00796, allocations: 0 / 0.5277 GB, free: 9.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.00796, allocations: 0.5 kB / 0.5277 GB, free: 9.965 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.007966, allocations: 1.5 kB / 0.5277 GB, free: 9.965 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006643/0.00863, allocations: 0.7417 MB / 0.5284 GB, free: 9.188 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.008664, allocations: 15.22 kB / 0.5284 GB, free: 9.176 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.00874, allocations: 64.66 kB / 0.5285 GB, free: 9.113 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.009039, allocations: 302.8 kB / 0.5287 GB, free: 8.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.009053, allocations: 16.86 kB / 0.5288 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.009084, allocations: 24.33 kB / 0.5288 GB, free: 8.754 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.009303, allocations: 157.4 kB / 0.5289 GB, free: 8.594 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.009313, allocations: 3.219 kB / 0.5289 GB, free: 8.594 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.00933, allocations: 8.375 kB / 0.5289 GB, free: 8.586 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.00934, allocations: 7.938 kB / 0.529 GB, free: 8.578 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.009484, allocations: 86.86 kB / 0.529 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.01017, allocations: 0.6825 MB / 0.5297 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.01031, allocations: 116.5 kB / 0.5298 GB, free: 7.648 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.0104, allocations: 65.78 kB / 0.5299 GB, free: 7.582 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.01041, allocations: 3.906 kB / 0.5299 GB, free: 7.578 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.01043, allocations: 41.89 kB / 0.5299 GB, free: 7.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.01043, allocations: 0 / 0.5299 GB, free: 7.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.00025/0.01068, allocations: 170.5 kB / 0.5301 GB, free: 7.359 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.01071, allocations: 55.41 kB / 0.5301 GB, free: 7.293 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.011, allocations: 438.7 kB / 0.5306 GB, free: 6.855 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.01101, allocations: 25.7 kB / 0.5306 GB, free: 6.824 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.01126, allocations: 279.1 kB / 0.5308 GB, free: 6.547 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.0113, allocations: 67.38 kB / 0.5309 GB, free: 6.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.01135, allocations: 41.8 kB / 0.5309 GB, free: 6.434 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.01149, allocations: 0.5391 MB / 0.5315 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.01153, allocations: 23.98 kB / 0.5315 GB, free: 5.859 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.01157, allocations: 23.98 kB / 0.5315 GB, free: 5.836 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.547e-05/0.01166, allocations: 75.58 kB / 0.5316 GB, free: 5.758 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01166, allocations: 0 / 0.5316 GB, free: 5.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001479/0.01181, allocations: 147.6 kB / 0.5317 GB, free: 5.609 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.01182, allocations: 5.781 kB / 0.5317 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01183, allocations: 0 / 0.5317 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01184, allocations: 4 kB / 0.5317 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01198, allocations: 51.97 kB / 0.5318 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01199, allocations: 5.016 kB / 0.5318 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.01205, allocations: 15.89 kB / 0.5318 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.01205, allocations: 4.938 kB / 0.5318 GB, free: 5.527 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 (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 8.173e-05/0.01213, allocations: 164.5 kB / 0.532 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.01217, allocations: 40.86 kB / 0.532 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.01222, allocations: 39.41 kB / 0.5321 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01222, allocations: 0 / 0.5321 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01222, allocations: 2.438 kB / 0.5321 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01223, allocations: 3.984 kB / 0.5321 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.01247, allocations: 300.4 kB / 0.5323 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01247, allocations: 0 / 0.5323 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.0126, allocations: 55.91 kB / 0.5324 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.0126, allocations: 4 kB / 0.5324 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01262, allocations: 2.5 kB / 0.5324 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.01262, allocations: 0 / 0.5324 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01262, allocations: 0 / 0.5324 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.01287, allocations: 331.5 kB / 0.5327 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.01291, allocations: 39.7 kB / 0.5328 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01294, allocations: 7.984 kB / 0.5328 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.01301, allocations: 9.5 kB / 0.5328 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.01304, allocations: 7.984 kB / 0.5328 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.01305, allocations: 7.938 kB / 0.5328 GB, free: 4.465 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.01323, allocations: 295 kB / 0.5331 GB, free: 4.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01323, allocations: 1.281 kB / 0.5331 GB, free: 4.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.01342, allocations: 75.84 kB / 0.5331 GB, free: 4.105 MB / 458.7 MB 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 7.124e-05/0.0135, allocations: 103.8 kB / 0.5332 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.01364, allocations: 92.2 kB / 0.5333 GB, free: 3.902 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01364, allocations: 4 kB / 0.5333 GB, free: 3.898 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.01369, allocations: 51.27 kB / 0.5334 GB, free: 3.848 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01401, allocations: 84.17 kB / 0.5335 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.01491, allocations: 0.6433 MB / 0.5341 GB, free: 3.133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.768e-05/0.01497, allocations: 101.4 kB / 0.5342 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.01504, allocations: 27.81 kB / 0.5342 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.01508, allocations: 21.66 kB / 0.5342 GB, free: 2.969 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01508, allocations: 4 kB / 0.5342 GB, free: 2.965 MB / 458.7 MB Notification: Performance of Templates: time 0.005805/0.02089, allocations: 3.652 MB / 0.5378 GB, free: 15.56 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.537222216837108]