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.001569/0.001569, allocations: 75.3 kB / 19.93 MB, free: 1.77 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.001507/0.001507, allocations: 170.3 kB / 23.22 MB, free: 4.887 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.368/1.368, allocations: 177.1 MB / 203.5 MB, free: 9.137 MB / 190.1 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.8926/0.8926, allocations: 114 MB / 373.9 MB, free: 13.22 MB / 350.1 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.543e-06/1.543e-06, allocations: 0 / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.733e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004184/0.004212, allocations: 2.835 MB / 0.5575 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.007235, allocations: 1.965 MB / 0.5594 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.007527, allocations: 7.938 kB / 0.5594 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.009189, allocations: 485.6 kB / 0.5599 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.009544, allocations: 150.7 kB / 0.56 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.009687, allocations: 59.92 kB / 0.5601 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.01022, allocations: 461.6 kB / 0.5605 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.01044, allocations: 103.8 kB / 0.5606 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.01083, allocations: 247.4 kB / 0.5609 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.01107, allocations: 135.5 kB / 0.561 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.01113, allocations: 36 kB / 0.561 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.0112, allocations: 32 kB / 0.5611 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01133, allocations: 103.7 kB / 0.5612 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.01151, allocations: 143.6 kB / 0.5613 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.0121, allocations: 0.5296 MB / 0.5618 GB, free: 11.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01211, allocations: 0 / 0.5618 GB, free: 11.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01211, allocations: 0 / 0.5618 GB, free: 11.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01211, allocations: 3.938 kB / 0.5618 GB, free: 11.29 MB / 478.1 MB 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.00109/0.0132, allocations: 0.6408 MB / 0.5625 GB, free: 10.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.01324, allocations: 8.625 kB / 0.5625 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.01333, allocations: 52.64 kB / 0.5625 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.01388, allocations: 311.9 kB / 0.5628 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.01391, allocations: 16.88 kB / 0.5628 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.01395, allocations: 20.38 kB / 0.5628 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.01437, allocations: 200.2 kB / 0.563 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.01439, allocations: 11.98 kB / 0.563 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01441, allocations: 8 kB / 0.5631 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01441, allocations: 4 kB / 0.5631 GB, free: 9.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.01481, allocations: 165.8 kB / 0.5632 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.0159, allocations: 0.6325 MB / 0.5638 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.01621, allocations: 150.5 kB / 0.564 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.01643, allocations: 96.81 kB / 0.5641 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.01645, allocations: 7.938 kB / 0.5641 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.01647, allocations: 30.56 kB / 0.5641 GB, free: 8.836 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.01648, allocations: 0 / 0.5641 GB, free: 8.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006111/0.01709, allocations: 263.1 kB / 0.5644 GB, free: 8.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.01713, allocations: 63.34 kB / 0.5644 GB, free: 8.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.01758, allocations: 385.7 kB / 0.5648 GB, free: 8.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01761, allocations: 29.7 kB / 0.5648 GB, free: 8.082 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.01777, allocations: 208.4 kB / 0.565 GB, free: 7.871 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.01784, allocations: 67.42 kB / 0.5651 GB, free: 7.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.0179, allocations: 37.7 kB / 0.5651 GB, free: 7.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.01807, allocations: 338.8 kB / 0.5654 GB, free: 7.422 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.01822, allocations: 59.95 kB / 0.5655 GB, free: 7.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.01835, allocations: 55.97 kB / 0.5655 GB, free: 7.309 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.01865, allocations: 130.5 kB / 0.5657 GB, free: 7.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01865, allocations: 4 kB / 0.5657 GB, free: 7.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003954/0.01904, allocations: 206.7 kB / 0.5659 GB, free: 6.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01906, allocations: 7.984 kB / 0.5659 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01906, allocations: 3.938 kB / 0.5659 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01908, allocations: 7.938 kB / 0.5659 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.01933, allocations: 47.97 kB / 0.5659 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01933, allocations: 4 kB / 0.5659 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.01947, allocations: 23.88 kB / 0.566 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01948, allocations: 4 kB / 0.566 GB, free: 6.871 MB / 478.1 MB 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.0001695/0.01965, allocations: 162.9 kB / 0.5661 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.01971, allocations: 35.8 kB / 0.5662 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.01978, allocations: 39.39 kB / 0.5662 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01979, allocations: 7.938 kB / 0.5662 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.0198, allocations: 0 / 0.5662 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.0198, allocations: 0 / 0.5662 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.02015, allocations: 273.1 kB / 0.5665 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02015, allocations: 3.984 kB / 0.5665 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.02041, allocations: 51.97 kB / 0.5665 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.02041, allocations: 0 / 0.5665 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.02043, allocations: 4 kB / 0.5665 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.02043, allocations: 4 kB / 0.5665 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.02044, allocations: 3.938 kB / 0.5665 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.02107, allocations: 380.7 kB / 0.5669 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.02114, allocations: 47.84 kB / 0.5669 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.02118, allocations: 0 / 0.5669 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.02133, allocations: 11.94 kB / 0.5669 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.02138, allocations: 15.91 kB / 0.567 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.02139, allocations: 8 kB / 0.567 GB, free: 5.789 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.02172, allocations: 287.2 kB / 0.5672 GB, free: 5.512 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02172, allocations: 0 / 0.5672 GB, free: 5.512 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000313/0.02204, allocations: 75.84 kB / 0.5673 GB, free: 5.438 MB / 478.1 MB 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.0001333/0.02217, allocations: 111.2 kB / 0.5674 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.02254, allocations: 131.9 kB / 0.5675 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02254, allocations: 0 / 0.5675 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.02271, allocations: 71.91 kB / 0.5676 GB, free: 5.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.0232, allocations: 78.12 kB / 0.5677 GB, free: 5.051 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.02437, allocations: 0.6873 MB / 0.5684 GB, free: 4.336 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.02456, allocations: 190.1 kB / 0.5685 GB, free: 4.133 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.02466, allocations: 38.95 kB / 0.5686 GB, free: 4.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.02473, allocations: 28.48 kB / 0.5686 GB, free: 4.066 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.02474, allocations: 0 / 0.5686 GB, free: 4.066 MB / 478.1 MB Notification: Performance of Templates: time 0.00838/0.03312, allocations: 3.644 MB / 0.5722 GB, free: 0.5586 MB / 478.1 MB " [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.097240820527077] Failed to read output from testmodel.py, exit status != 0: 0.04186970368027687 0.056228084000000005 0.040975575 Calling exit ...