Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0015/0.0015, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 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.001775/0.001775, allocations: 211.1 kB / 23.76 MB, free: 4.746 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9731/0.9731, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 67.89 kB / 0.6425 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2117, allocations: 89.17 MB / 0.7296 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005603/0.2173, allocations: 3.064 MB / 0.7326 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.2213, allocations: 2.199 MB / 0.7348 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.2217, allocations: 7.938 kB / 0.7348 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.2238, allocations: 0.5172 MB / 0.7353 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.2245, allocations: 142.9 kB / 0.7354 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2247, allocations: 63.88 kB / 0.7355 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007826/0.2255, allocations: 437.9 kB / 0.7359 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.2258, allocations: 103.8 kB / 0.736 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.2263, allocations: 171.3 kB / 0.7362 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.2266, allocations: 179.2 kB / 0.7363 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.2267, allocations: 40 kB / 0.7364 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.24e-05/0.2268, allocations: 32 kB / 0.7364 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.2269, allocations: 99.61 kB / 0.7365 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.2272, allocations: 218.9 kB / 0.7367 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.228, allocations: 0.5446 MB / 0.7372 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.228, allocations: 4 kB / 0.7372 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.228, allocations: 0 / 0.7372 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.228, allocations: 0 / 0.7372 GB, free: 8.879 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.001454/0.2295, allocations: 0.6368 MB / 0.7379 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2295, allocations: 8.031 kB / 0.7379 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.2296, allocations: 48.61 kB / 0.7379 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.2304, allocations: 320.5 kB / 0.7382 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2304, allocations: 16.81 kB / 0.7382 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.2304, allocations: 23.94 kB / 0.7383 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.2309, allocations: 207.3 kB / 0.7385 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2309, allocations: 0 / 0.7385 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.231, allocations: 12 kB / 0.7385 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.231, allocations: 4 kB / 0.7385 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.2314, allocations: 161.7 kB / 0.7386 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.2328, allocations: 0.8316 MB / 0.7394 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.2332, allocations: 149 kB / 0.7396 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.2334, allocations: 100.8 kB / 0.7397 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2334, allocations: 4 kB / 0.7397 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2334, allocations: 46.44 kB / 0.7397 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2335, allocations: 0 / 0.7397 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.000671/0.2341, allocations: 251 kB / 0.74 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.2342, allocations: 51.41 kB / 0.74 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.2347, allocations: 425.7 kB / 0.7404 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2348, allocations: 29.64 kB / 0.7404 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.2349, allocations: 204.5 kB / 0.7406 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.235, allocations: 67.42 kB / 0.7407 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.2351, allocations: 29.72 kB / 0.7407 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2353, allocations: 346.8 kB / 0.7411 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2354, allocations: 55.97 kB / 0.7411 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2356, allocations: 55.97 kB / 0.7412 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.2359, allocations: 142.2 kB / 0.7413 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2359, allocations: 0 / 0.7413 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004369/0.2363, allocations: 214.8 kB / 0.7415 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2363, allocations: 4 kB / 0.7415 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2364, allocations: 0 / 0.7415 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2364, allocations: 0 / 0.7415 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2367, allocations: 63.89 kB / 0.7416 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2367, allocations: 3.984 kB / 0.7416 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.2368, allocations: 15.89 kB / 0.7416 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.2368, allocations: 4 kB / 0.7416 GB, free: 4.207 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.0001957/0.237, allocations: 161.8 kB / 0.7418 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.2371, allocations: 43.7 kB / 0.7418 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.2372, allocations: 39.53 kB / 0.7418 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2372, allocations: 0 / 0.7418 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2372, allocations: 7.984 kB / 0.7418 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2372, allocations: 0 / 0.7418 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.2377, allocations: 344.4 kB / 0.7422 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2377, allocations: 4 kB / 0.7422 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.238, allocations: 63.78 kB / 0.7422 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.238, allocations: 0 / 0.7422 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.238, allocations: 7.984 kB / 0.7422 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.238, allocations: 0 / 0.7422 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.238, allocations: 0 / 0.7422 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.2387, allocations: 377.3 kB / 0.7426 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.2388, allocations: 55.59 kB / 0.7427 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.2388, allocations: 4 kB / 0.7427 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.239, allocations: 11.98 kB / 0.7427 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.239, allocations: 11.98 kB / 0.7427 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.2391, allocations: 4.062 kB / 0.7427 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003819/0.2394, allocations: 307.1 kB / 0.743 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2394, allocations: 0 / 0.743 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003293/0.2398, allocations: 75.89 kB / 0.743 GB, free: 2.652 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.000191/0.24, allocations: 107.2 kB / 0.7432 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.2404, allocations: 139.9 kB / 0.7433 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.2404, allocations: 4 kB / 0.7433 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2405, allocations: 71.91 kB / 0.7434 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.2411, allocations: 94.94 kB / 0.7434 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.2427, allocations: 0.7946 MB / 0.7442 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.2432, allocations: 0.799 MB / 0.745 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.2433, allocations: 23.44 kB / 0.745 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2433, allocations: 4 kB / 0.745 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of Templates: time 0.009137/0.2524, allocations: 4.407 MB / 0.7493 GB, free: 12.2 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.863623483106494] Failed to read output from testmodel.py, exit status != 0: 0.2629116789903492 0.666192789 0.047861541 Calling exit ...