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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 109.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 192.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.182/1.182, allocations: 173.4 MB / 471.3 MB, free: 6.617 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001967/0.001967, allocations: 70.52 kB / 0.649 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1964, allocations: 89.53 MB / 0.7365 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004636/0.2011, allocations: 3.015 MB / 0.7394 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.2043, allocations: 2.137 MB / 0.7415 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.2046, allocations: 7.938 kB / 0.7415 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.2061, allocations: 0.5094 MB / 0.742 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.2065, allocations: 134.9 kB / 0.7421 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.2067, allocations: 67.86 kB / 0.7422 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.2072, allocations: 433.9 kB / 0.7426 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.2074, allocations: 151.2 kB / 0.7427 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.2077, allocations: 163.3 kB / 0.7429 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.2079, allocations: 183.1 kB / 0.7431 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.208, allocations: 36 kB / 0.7431 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.2081, allocations: 32 kB / 0.7431 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.2082, allocations: 95.67 kB / 0.7432 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.2084, allocations: 222.9 kB / 0.7434 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.209, allocations: 0.5486 MB / 0.744 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2091, allocations: 0 / 0.744 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2091, allocations: 0 / 0.744 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.2091, allocations: 0 / 0.744 GB, free: 11.88 MB / 0.5606 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.001108/0.2102, allocations: 0.7083 MB / 0.7447 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2102, allocations: 8.031 kB / 0.7447 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.2103, allocations: 48.61 kB / 0.7447 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.2109, allocations: 382.4 kB / 0.7451 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.211, allocations: 20.75 kB / 0.7451 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.211, allocations: 31.92 kB / 0.7451 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.2114, allocations: 195.3 kB / 0.7453 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2115, allocations: 0 / 0.7453 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2115, allocations: 8 kB / 0.7453 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.2115, allocations: 4 kB / 0.7453 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.2119, allocations: 169.6 kB / 0.7455 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2131, allocations: 0.8663 MB / 0.7463 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2135, allocations: 158.6 kB / 0.7465 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.2137, allocations: 112.8 kB / 0.7466 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2137, allocations: 0 / 0.7466 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.2138, allocations: 38.5 kB / 0.7466 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/0.2138, allocations: 0 / 0.7466 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0006242/0.2144, allocations: 263.7 kB / 0.7469 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2145, allocations: 55.41 kB / 0.7469 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.215, allocations: 421.6 kB / 0.7473 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.215, allocations: 25.7 kB / 0.7474 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2152, allocations: 204.4 kB / 0.7476 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/0.2152, allocations: 67.44 kB / 0.7476 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.2153, allocations: 29.7 kB / 0.7477 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2155, allocations: 350.8 kB / 0.748 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2156, allocations: 51.97 kB / 0.748 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2158, allocations: 66.16 kB / 0.7481 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.2161, allocations: 136.8 kB / 0.7482 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2161, allocations: 0 / 0.7482 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003958/0.2165, allocations: 211 kB / 0.7484 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2165, allocations: 4 kB / 0.7484 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2166, allocations: 0 / 0.7484 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2166, allocations: 4 kB / 0.7484 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.2168, allocations: 55.97 kB / 0.7485 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2168, allocations: 3.938 kB / 0.7485 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.217, allocations: 23.88 kB / 0.7485 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.217, allocations: 0 / 0.7485 GB, free: 6.98 MB / 0.5606 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.0001697/0.2172, allocations: 165.8 kB / 0.7487 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.2173, allocations: 39.7 kB / 0.7487 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.2174, allocations: 43.59 kB / 0.7488 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2174, allocations: 0 / 0.7488 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2174, allocations: 0 / 0.7488 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2174, allocations: 3.984 kB / 0.7488 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.2178, allocations: 377.3 kB / 0.7491 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2179, allocations: 4 kB / 0.7491 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.2181, allocations: 55.84 kB / 0.7492 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2181, allocations: 0 / 0.7492 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2181, allocations: 4 kB / 0.7492 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2182, allocations: 4 kB / 0.7492 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2182, allocations: 4 kB / 0.7492 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.2188, allocations: 377.2 kB / 0.7496 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2189, allocations: 120.8 kB / 0.7497 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.219, allocations: 8 kB / 0.7497 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2191, allocations: 15.92 kB / 0.7497 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2192, allocations: 12.05 kB / 0.7497 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2192, allocations: 7.938 kB / 0.7497 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003344/0.2195, allocations: 299.2 kB / 0.75 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2195, allocations: 4 kB / 0.75 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002991/0.2198, allocations: 71.89 kB / 0.7501 GB, free: 5.305 MB / 0.5606 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.0001445/0.22, allocations: 111.2 kB / 0.7502 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.2204, allocations: 143.8 kB / 0.7503 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2204, allocations: 7.938 kB / 0.7503 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.2206, allocations: 75.91 kB / 0.7504 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.2211, allocations: 102.2 kB / 0.7505 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2225, allocations: 0.7946 MB / 0.7513 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.2229, allocations: 0.7951 MB / 0.752 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.223, allocations: 27.44 kB / 0.7521 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.223, allocations: 0 / 0.7521 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.007173/0.2302, allocations: 4.367 MB / 0.7563 GB, free: 14.86 MB / 0.5762 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: 9.086372777121142] Failed to read output from testmodel.py, exit status != 0: 0.23739652591757476 0.250686216 0.039084525 Calling exit ...