Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001354/0.001354, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.001082/0.001082, allocations: 169 kB / 23.27 MB, free: 1.219 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.8815/0.8815, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7242/0.7242, allocations: 154.9 MB / 415.1 MB, free: 256 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.588e-05, allocations: 3.219 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005581/0.005607, allocations: 4.134 MB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.009453, allocations: 2.373 MB / 0.5275 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005138/0.009967, allocations: 12 kB / 0.5276 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.01185, allocations: 0.5266 MB / 0.5281 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.01259, allocations: 258.2 kB / 0.5283 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.01289, allocations: 139.8 kB / 0.5285 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009413/0.01383, allocations: 0.8405 MB / 0.5293 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.01426, allocations: 211 kB / 0.5295 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.01512, allocations: 463.9 kB / 0.5299 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.01556, allocations: 255.3 kB / 0.5302 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.0157, allocations: 77 kB / 0.5302 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.01584, allocations: 76 kB / 0.5303 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.01601, allocations: 178.2 kB / 0.5305 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.01635, allocations: 259.4 kB / 0.5307 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.01703, allocations: 0.5137 MB / 0.5312 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.01704, allocations: 0 / 0.5312 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01704, allocations: 0 / 0.5312 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.01706, allocations: 0 / 0.5312 GB, free: 7.18 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001418/0.01848, allocations: 1.008 MB / 0.5322 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.01853, allocations: 12.03 kB / 0.5322 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.01875, allocations: 112.5 kB / 0.5323 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.01917, allocations: 378.2 kB / 0.5327 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.0192, allocations: 37.38 kB / 0.5327 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.01924, allocations: 44.38 kB / 0.5328 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.01959, allocations: 282.2 kB / 0.533 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.0196, allocations: 4.141 kB / 0.533 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.01963, allocations: 20.38 kB / 0.5331 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01964, allocations: 15.94 kB / 0.5331 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.01981, allocations: 158.8 kB / 0.5332 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.02097, allocations: 1.109 MB / 0.5343 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.02116, allocations: 192.6 kB / 0.5345 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.02133, allocations: 167.3 kB / 0.5347 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.02134, allocations: 12.12 kB / 0.5347 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.02137, allocations: 45.33 kB / 0.5347 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.02137, allocations: 0 / 0.5347 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0003185/0.02169, allocations: 289.9 kB / 0.535 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.02172, allocations: 59.19 kB / 0.535 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.02198, allocations: 466.5 kB / 0.5355 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.022, allocations: 33.7 kB / 0.5355 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.02229, allocations: 355.9 kB / 0.5359 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.02237, allocations: 150.7 kB / 0.536 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.02243, allocations: 69.2 kB / 0.5361 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.02257, allocations: 0.5508 MB / 0.5366 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.02262, allocations: 40.72 kB / 0.5366 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.02267, allocations: 49.2 kB / 0.5367 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.02279, allocations: 146.3 kB / 0.5368 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0228, allocations: 3.938 kB / 0.5368 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002104/0.02301, allocations: 248.6 kB / 0.5371 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.02302, allocations: 8.906 kB / 0.5371 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.02302, allocations: 0 / 0.5371 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.02303, allocations: 0.6562 kB / 0.5371 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.02328, allocations: 124.6 kB / 0.5372 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.02329, allocations: 7.938 kB / 0.5372 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.02337, allocations: 25.31 kB / 0.5372 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.02338, allocations: 11.98 kB / 0.5372 GB, free: 0.8359 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 (46): * Single equations (assignments): 46 * 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.0001008/0.02348, allocations: 176.5 kB / 0.5374 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.02353, allocations: 66.17 kB / 0.5375 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.02358, allocations: 52.81 kB / 0.5375 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02359, allocations: 8 kB / 0.5375 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02359, allocations: 0 / 0.5375 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0236, allocations: 7.922 kB / 0.5375 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.02388, allocations: 344.8 kB / 0.5379 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02388, allocations: 2.438 kB / 0.5379 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.02412, allocations: 123.9 kB / 0.538 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.02412, allocations: 0 / 0.538 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.02414, allocations: 12 kB / 0.538 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.02414, allocations: 0 / 0.538 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.02414, allocations: 0 / 0.538 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.0245, allocations: 472.4 kB / 0.5384 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.02455, allocations: 59.58 kB / 0.5385 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.02457, allocations: 4 kB / 0.5385 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.02466, allocations: 13.27 kB / 0.5385 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.0247, allocations: 27.89 kB / 0.5385 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.02471, allocations: 8 kB / 0.5386 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001404/0.02485, allocations: 291.5 kB / 0.5388 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02485, allocations: 0.6875 kB / 0.5388 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002276/0.02508, allocations: 151.7 kB / 0.539 GB, free: 15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001067/0.02518, allocations: 120.1 kB / 0.5391 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.02537, allocations: 176 kB / 0.5393 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.02537, allocations: 0 / 0.5393 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.02546, allocations: 115.9 kB / 0.5394 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.02607, allocations: 108 kB / 0.5395 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02721, allocations: 1.015 MB / 0.5405 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.228e-05/0.02728, allocations: 133.8 kB / 0.5406 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000103/0.02739, allocations: 45.47 kB / 0.5406 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.02755, allocations: 162.1 kB / 0.5408 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.02755, allocations: 0 / 0.5408 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.007431/0.03499, allocations: 5.408 MB / 0.5461 GB, free: 8.008 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.464207402896136]