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.0008981/0.0008981, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008011/0.0008011, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8871/0.8871, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5382/0.5382, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5555 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.175e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002943/0.002965, allocations: 2.846 MB / 0.5583 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.004655, allocations: 1.958 MB / 0.5602 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004785, allocations: 4 kB / 0.5602 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009285/0.005713, allocations: 484.9 kB / 0.5606 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.005863, allocations: 154.8 kB / 0.5608 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 7.814e-05/0.005941, allocations: 59.88 kB / 0.5608 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.006242, allocations: 461.6 kB / 0.5613 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.006402, allocations: 99.83 kB / 0.5614 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.006644, allocations: 247.4 kB / 0.5616 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.006785, allocations: 135.6 kB / 0.5617 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.006815, allocations: 36 kB / 0.5618 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.00685, allocations: 36 kB / 0.5618 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.006935, allocations: 95.67 kB / 0.5619 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.007026, allocations: 143.6 kB / 0.562 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.007376, allocations: 0.5296 MB / 0.5626 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007378, allocations: 0 / 0.5626 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.007379, allocations: 4 kB / 0.5626 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.007384, allocations: 0 / 0.5626 GB, free: 10.95 MB / 0.5261 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.0006568/0.008041, allocations: 0.6329 MB / 0.5632 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.008074, allocations: 12.03 kB / 0.5632 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.008127, allocations: 48.64 kB / 0.5632 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.008585, allocations: 315.9 kB / 0.5635 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.0086, allocations: 16.88 kB / 0.5636 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.008631, allocations: 16.38 kB / 0.5636 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.008895, allocations: 216.1 kB / 0.5638 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.008907, allocations: 0 / 0.5638 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.008925, allocations: 12 kB / 0.5638 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.00893, allocations: 4 kB / 0.5638 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.009148, allocations: 161.8 kB / 0.5639 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.009825, allocations: 0.6481 MB / 0.5646 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.01002, allocations: 142.5 kB / 0.5647 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.01014, allocations: 101.1 kB / 0.5648 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.01015, allocations: 7.906 kB / 0.5648 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.01017, allocations: 38.55 kB / 0.5649 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.01017, allocations: 0 / 0.5649 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0003423/0.01051, allocations: 251.2 kB / 0.5651 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.01054, allocations: 51.41 kB / 0.5651 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.01082, allocations: 393.7 kB / 0.5655 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.01083, allocations: 29.7 kB / 0.5655 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.01092, allocations: 208.4 kB / 0.5657 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.01097, allocations: 67.38 kB / 0.5658 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.01101, allocations: 33.7 kB / 0.5658 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.0111, allocations: 342.8 kB / 0.5662 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.01118, allocations: 55.95 kB / 0.5662 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.01125, allocations: 63.97 kB / 0.5663 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.01141, allocations: 134.4 kB / 0.5664 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01141, allocations: 0 / 0.5664 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002122/0.01163, allocations: 204.1 kB / 0.5666 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01164, allocations: 7.984 kB / 0.5666 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01164, allocations: 0 / 0.5666 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01166, allocations: 3.938 kB / 0.5666 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.0118, allocations: 63.91 kB / 0.5667 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.0118, allocations: 0 / 0.5667 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.01187, allocations: 15.88 kB / 0.5667 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.01188, allocations: 8 kB / 0.5667 GB, free: 6.535 MB / 0.5261 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.0001038/0.01198, allocations: 165.8 kB / 0.5669 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.01201, allocations: 31.77 kB / 0.5669 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.01205, allocations: 47.33 kB / 0.5669 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01206, allocations: 7.938 kB / 0.5669 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01206, allocations: 8 kB / 0.5669 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01206, allocations: 0 / 0.5669 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.01227, allocations: 265.2 kB / 0.5672 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01227, allocations: 0 / 0.5672 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01239, allocations: 51.97 kB / 0.5673 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.0124, allocations: 4 kB / 0.5673 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01241, allocations: 0 / 0.5673 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01241, allocations: 0 / 0.5673 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.01241, allocations: 3.938 kB / 0.5673 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.01277, allocations: 384.8 kB / 0.5676 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.01282, allocations: 43.72 kB / 0.5677 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01284, allocations: 4 kB / 0.5677 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.01291, allocations: 8 kB / 0.5677 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.01295, allocations: 19.84 kB / 0.5677 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.01295, allocations: 4 kB / 0.5677 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001894/0.01314, allocations: 291.2 kB / 0.568 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01314, allocations: 0 / 0.568 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001858/0.01333, allocations: 75.84 kB / 0.5681 GB, free: 5.098 MB / 0.5261 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 8.546e-05/0.01341, allocations: 107.2 kB / 0.5682 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01363, allocations: 131.9 kB / 0.5683 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01363, allocations: 0 / 0.5683 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.01371, allocations: 77.94 kB / 0.5684 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01403, allocations: 82.17 kB / 0.5684 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007733/0.0148, allocations: 0.7136 MB / 0.5691 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.01492, allocations: 194.1 kB / 0.5693 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.01497, allocations: 24.5 kB / 0.5693 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01497, allocations: 4 kB / 0.5693 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of Templates: time 0.004176/0.01914, allocations: 4.355 MB / 0.5736 GB, free: 15.41 MB / 0.5417 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: 5.165244856849313] Failed to read output from testmodel.py, exit status != 0: 0.0241180257871747 0.031671561 0.022654279000000003 Calling exit ...