Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001341/0.001341, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001494/0.001494, allocations: 157.7 kB / 23.01 MB, free: 4.602 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00246/0.00246, allocations: 233 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9426/0.9426, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003166/0.003166, allocations: 99.84 kB / 0.6474 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3914, allocations: 95.35 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003512/0.3949, allocations: 2.849 MB / 0.7433 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.3971, allocations: 1.951 MB / 0.7452 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3973, allocations: 5.594 kB / 0.7452 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3985, allocations: 455.7 kB / 0.7456 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.3988, allocations: 160.1 kB / 0.7458 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.3989, allocations: 57.75 kB / 0.7458 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.3993, allocations: 452.8 kB / 0.7463 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3995, allocations: 94.55 kB / 0.7464 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3997, allocations: 170.7 kB / 0.7465 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.3999, allocations: 159.1 kB / 0.7467 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.3999, allocations: 33.97 kB / 0.7467 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.4, allocations: 39.03 kB / 0.7467 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.4001, allocations: 95.05 kB / 0.7468 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.4003, allocations: 173.5 kB / 0.747 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.4008, allocations: 0.5526 MB / 0.7475 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4008, allocations: 3.938 kB / 0.7475 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4008, allocations: 0 / 0.7475 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4009, allocations: 1.953 kB / 0.7475 GB, free: 13.13 MB / 0.5919 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.0008994/0.4017, allocations: 0.6419 MB / 0.7482 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4018, allocations: 10.38 kB / 0.7482 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.4019, allocations: 47.05 kB / 0.7482 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.4023, allocations: 309.7 kB / 0.7485 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4023, allocations: 21.62 kB / 0.7485 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.4024, allocations: 22.5 kB / 0.7486 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.4028, allocations: 204.2 kB / 0.7488 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4028, allocations: 8 kB / 0.7488 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.4028, allocations: 6.688 kB / 0.7488 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4028, allocations: 5.062 kB / 0.7488 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.4032, allocations: 162.2 kB / 0.7489 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009065/0.4041, allocations: 0.6476 MB / 0.7496 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.4044, allocations: 151.6 kB / 0.7497 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.4045, allocations: 99.03 kB / 0.7498 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.4046, allocations: 2.953 kB / 0.7498 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.4046, allocations: 32.88 kB / 0.7498 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.4046, allocations: 0 / 0.7498 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0005575/0.4051, allocations: 255.4 kB / 0.7501 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.4052, allocations: 62.25 kB / 0.7501 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.4056, allocations: 395.7 kB / 0.7505 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4056, allocations: 26.31 kB / 0.7505 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4057, allocations: 208.6 kB / 0.7507 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.4057, allocations: 64.05 kB / 0.7508 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4058, allocations: 30.44 kB / 0.7508 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.4059, allocations: 347 kB / 0.7512 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.406, allocations: 58.52 kB / 0.7512 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.4061, allocations: 63.41 kB / 0.7513 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.4064, allocations: 140.2 kB / 0.7514 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4064, allocations: 0 / 0.7514 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003514/0.4068, allocations: 204 kB / 0.7516 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4068, allocations: 3.938 kB / 0.7516 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4068, allocations: 2.078 kB / 0.7516 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4068, allocations: 0 / 0.7516 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.407, allocations: 63.11 kB / 0.7517 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4071, allocations: 4.938 kB / 0.7517 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4072, allocations: 20.16 kB / 0.7517 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4072, allocations: 3.469 kB / 0.7517 GB, free: 10.41 MB / 0.5919 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.0001158/0.4073, allocations: 162.2 kB / 0.7519 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.4074, allocations: 35.02 kB / 0.7519 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.4074, allocations: 39.03 kB / 0.7519 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4074, allocations: 6.094 kB / 0.7519 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4074, allocations: 1.156 kB / 0.7519 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4074, allocations: 1.266 kB / 0.7519 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.4077, allocations: 275.3 kB / 0.7522 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4077, allocations: 1.125 kB / 0.7522 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.408, allocations: 54.73 kB / 0.7522 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.408, allocations: 0.9375 kB / 0.7522 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.408, allocations: 5.938 kB / 0.7523 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.408, allocations: 0.9062 kB / 0.7523 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.408, allocations: 5.406 kB / 0.7523 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.4086, allocations: 382.7 kB / 0.7526 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.4086, allocations: 36.88 kB / 0.7527 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.4087, allocations: 5.422 kB / 0.7527 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.4088, allocations: 11.88 kB / 0.7527 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.4089, allocations: 17.19 kB / 0.7527 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4089, allocations: 7.688 kB / 0.7527 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002684/0.4091, allocations: 287.1 kB / 0.753 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4091, allocations: 0 / 0.753 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003041/0.4094, allocations: 75.77 kB / 0.753 GB, free: 9.578 MB / 0.5919 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.597e-05/0.4095, allocations: 109.8 kB / 0.7531 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.4099, allocations: 138.1 kB / 0.7533 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4099, allocations: 1.344 kB / 0.7533 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.41, allocations: 78.28 kB / 0.7534 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.4105, allocations: 78.38 kB / 0.7534 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4116, allocations: 0.7614 MB / 0.7542 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.4117, allocations: 190.2 kB / 0.7544 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.4119, allocations: 36.06 kB / 0.7544 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.4119, allocations: 24.31 kB / 0.7544 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.4119, allocations: 0 / 0.7544 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of Templates: time 0.007548/0.4195, allocations: 3.688 MB / 0.758 GB, free: 7.539 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7699743181001395] Failed to read output from testmodel.py, exit status != 0: 0.4269872590666637 0.437255178 0.033832143 Calling exit ...