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.0008137/0.0008137, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007295/0.0007295, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8659/0.8659, allocations: 177.1 MB / 203.5 MB, free: 5.75 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-531:190: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-531:198: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.6994/0.6994, allocations: 154.5 MB / 414.5 MB, free: 0.8633 MB / 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 1.653e-06/1.653e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.734e-05, allocations: 6.922 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002741/0.002759, allocations: 2.839 MB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.0045, allocations: 1.958 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004631, allocations: 4 kB / 0.624 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.005555, allocations: 481.5 kB / 0.6245 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.005703, allocations: 154.7 kB / 0.6246 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.687e-05/0.00578, allocations: 63.92 kB / 0.6247 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.006082, allocations: 461.2 kB / 0.6251 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.006238, allocations: 99.83 kB / 0.6252 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.006473, allocations: 243.4 kB / 0.6255 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.006605, allocations: 135.6 kB / 0.6256 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.006634, allocations: 36 kB / 0.6256 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.307e-05/0.006667, allocations: 36 kB / 0.6257 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.006749, allocations: 99.61 kB / 0.6258 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.006839, allocations: 139.7 kB / 0.6259 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.007189, allocations: 0.5334 MB / 0.6264 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.007191, allocations: 0 / 0.6264 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.054e-06/0.007193, allocations: 3.984 kB / 0.6264 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.007198, allocations: 0 / 0.6264 GB, free: 5.879 MB / 0.5886 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.000649/0.007847, allocations: 0.6291 MB / 0.627 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.007886, allocations: 13.47 kB / 0.627 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.007939, allocations: 48.66 kB / 0.6271 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.008267, allocations: 323.7 kB / 0.6274 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.008282, allocations: 16.88 kB / 0.6274 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.008314, allocations: 20.38 kB / 0.6274 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.008562, allocations: 204.6 kB / 0.6276 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.008573, allocations: 192 / 0.6276 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.00859, allocations: 12.38 kB / 0.6276 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.008596, allocations: 7.938 kB / 0.6276 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.008959, allocations: 157.9 kB / 0.6278 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.009631, allocations: 0.6442 MB / 0.6284 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.009821, allocations: 142.5 kB / 0.6286 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.009942, allocations: 102.8 kB / 0.6287 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.009956, allocations: 4 kB / 0.6287 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.009975, allocations: 42.44 kB / 0.6287 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.009976, allocations: 0 / 0.6287 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0003611/0.01034, allocations: 249.7 kB / 0.6289 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.01037, allocations: 55.31 kB / 0.629 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.01065, allocations: 393.7 kB / 0.6294 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.01067, allocations: 29.7 kB / 0.6294 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01077, allocations: 208.4 kB / 0.6296 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.01082, allocations: 67.42 kB / 0.6297 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.01086, allocations: 33.7 kB / 0.6297 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01096, allocations: 350.7 kB / 0.63 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.01104, allocations: 51.97 kB / 0.6301 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.01111, allocations: 66.03 kB / 0.6301 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.01128, allocations: 132.8 kB / 0.6303 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01128, allocations: 0 / 0.6303 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002195/0.0115, allocations: 207.2 kB / 0.6305 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.01151, allocations: 4 kB / 0.6305 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01152, allocations: 0 / 0.6305 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01153, allocations: 0 / 0.6305 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01168, allocations: 63.91 kB / 0.6305 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01169, allocations: 0 / 0.6305 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.01175, allocations: 23.75 kB / 0.6305 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.01176, allocations: 8 kB / 0.6306 GB, free: 1.465 MB / 0.5886 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.0001138/0.01188, allocations: 161.8 kB / 0.6307 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.01191, allocations: 31.81 kB / 0.6307 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.01195, allocations: 39.41 kB / 0.6308 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01196, allocations: 4 kB / 0.6308 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01196, allocations: 0 / 0.6308 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01196, allocations: 4 kB / 0.6308 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.01218, allocations: 273 kB / 0.631 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.01218, allocations: 0 / 0.631 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.01231, allocations: 55.91 kB / 0.6311 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01231, allocations: 0 / 0.6311 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01232, allocations: 4 kB / 0.6311 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.01232, allocations: 0 / 0.6311 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01232, allocations: 0 / 0.6311 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.01268, allocations: 389 kB / 0.6315 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.01272, allocations: 47.72 kB / 0.6315 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01275, allocations: 4 kB / 0.6315 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.01282, allocations: 11.98 kB / 0.6315 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.01286, allocations: 7.984 kB / 0.6315 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.01287, allocations: 8 kB / 0.6316 GB, free: 404 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001907/0.01306, allocations: 291.2 kB / 0.6318 GB, free: 112 kB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01306, allocations: 3.938 kB / 0.6318 GB, free: 108 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001853/0.01324, allocations: 75.84 kB / 0.6319 GB, free: 32 kB / 0.5886 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 9.624e-05/0.01334, allocations: 103.5 kB / 0.632 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.01356, allocations: 139.8 kB / 0.6321 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01356, allocations: 0 / 0.6321 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.01365, allocations: 78.09 kB / 0.6322 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01397, allocations: 71.86 kB / 0.6323 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.01476, allocations: 0.7098 MB / 0.633 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.01488, allocations: 194.2 kB / 0.6332 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.01493, allocations: 28.44 kB / 0.6332 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.01493, allocations: 0 / 0.6332 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.004303/0.01924, allocations: 4.358 MB / 0.6374 GB, free: 10.34 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.015670586377382] Failed to read output from testmodel.py, exit status != 0: 0.02386375702917576 0.031384442 0.02268643 Calling exit ...