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.00192/0.00192, allocations: 79.12 kB / 19 MB, free: 2.867 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.002334/0.002334, allocations: 160.3 kB / 22.25 MB, free: 5.133 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.465/1.465, allocations: 177.2 MB / 202.6 MB, free: 9.254 MB / 190.1 MB " [Timeout remaining time 178] 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.002528/0.002528, allocations: 234.4 kB / 259.3 MB, free: 0.5703 MB / 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 1.06/1.06, allocations: 138.5 MB / 454.2 MB, free: 2.035 MB / 366.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.003227/0.003227, allocations: 99.84 kB / 0.6466 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3628, allocations: 95.36 MB / 0.7398 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004318/0.3671, allocations: 2.85 MB / 0.7425 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.37, allocations: 1.947 MB / 0.7444 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.3702, allocations: 8 kB / 0.7445 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.3716, allocations: 453.8 kB / 0.7449 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3719, allocations: 146.9 kB / 0.745 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.372, allocations: 67.92 kB / 0.7451 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.3725, allocations: 453.6 kB / 0.7455 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3727, allocations: 95.78 kB / 0.7456 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.3731, allocations: 267.2 kB / 0.7459 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3733, allocations: 159.1 kB / 0.746 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.3734, allocations: 36 kB / 0.7461 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.245e-05/0.3735, allocations: 32 kB / 0.7461 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3736, allocations: 99.66 kB / 0.7462 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3738, allocations: 175.1 kB / 0.7463 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.3744, allocations: 0.5486 MB / 0.7469 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3744, allocations: 4 kB / 0.7469 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3744, allocations: 0 / 0.7469 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3744, allocations: 0 / 0.7469 GB, free: 7.738 MB / 0.5762 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.00106/0.3754, allocations: 0.6329 MB / 0.7475 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3755, allocations: 12.62 kB / 0.7475 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.3756, allocations: 52.66 kB / 0.7476 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.3761, allocations: 316.6 kB / 0.7479 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3762, allocations: 16.88 kB / 0.7479 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.3762, allocations: 24.38 kB / 0.7479 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.3766, allocations: 208.3 kB / 0.7481 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3767, allocations: 0 / 0.7481 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.3767, allocations: 15.98 kB / 0.7481 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3767, allocations: 4 kB / 0.7481 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.3771, allocations: 165.9 kB / 0.7483 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3782, allocations: 0.6441 MB / 0.7489 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.3786, allocations: 142.6 kB / 0.749 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.3788, allocations: 104.8 kB / 0.7491 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3788, allocations: 4 kB / 0.7492 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3788, allocations: 30.56 kB / 0.7492 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.3788, allocations: 0 / 0.7492 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0006431/0.3795, allocations: 264.5 kB / 0.7494 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3795, allocations: 59.34 kB / 0.7495 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.38, allocations: 389.7 kB / 0.7499 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.38, allocations: 29.7 kB / 0.7499 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.3802, allocations: 212.4 kB / 0.7501 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.3803, allocations: 67.42 kB / 0.7502 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.3803, allocations: 29.7 kB / 0.7502 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3805, allocations: 350.8 kB / 0.7505 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3807, allocations: 51.97 kB / 0.7506 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3808, allocations: 59.92 kB / 0.7506 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.3812, allocations: 135.7 kB / 0.7508 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3812, allocations: 0 / 0.7508 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004181/0.3816, allocations: 205.3 kB / 0.751 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3816, allocations: 8 kB / 0.751 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3816, allocations: 0 / 0.751 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3816, allocations: 0 / 0.751 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3819, allocations: 59.91 kB / 0.751 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3819, allocations: 3.984 kB / 0.751 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.382, allocations: 19.88 kB / 0.751 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.382, allocations: 8 kB / 0.751 GB, free: 3.305 MB / 0.5762 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.0001804/0.3822, allocations: 166.6 kB / 0.7512 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.3823, allocations: 35.77 kB / 0.7512 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.3824, allocations: 43.34 kB / 0.7513 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3824, allocations: 3.938 kB / 0.7513 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3824, allocations: 4 kB / 0.7513 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3824, allocations: 0 / 0.7513 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.3828, allocations: 269.1 kB / 0.7515 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3828, allocations: 0 / 0.7515 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.3831, allocations: 55.91 kB / 0.7516 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3831, allocations: 4 kB / 0.7516 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3831, allocations: 8 kB / 0.7516 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3831, allocations: 0 / 0.7516 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3831, allocations: 3.938 kB / 0.7516 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.3837, allocations: 371.1 kB / 0.752 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.3838, allocations: 43.78 kB / 0.752 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.3839, allocations: 4 kB / 0.752 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.384, allocations: 16.05 kB / 0.752 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3841, allocations: 11.92 kB / 0.752 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3841, allocations: 11.94 kB / 0.7521 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003432/0.3844, allocations: 287.2 kB / 0.7523 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3844, allocations: 0 / 0.7523 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003359/0.3848, allocations: 79.77 kB / 0.7524 GB, free: 1.855 MB / 0.5762 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.0001333/0.3849, allocations: 107.2 kB / 0.7525 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.3853, allocations: 139.8 kB / 0.7526 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3853, allocations: 0 / 0.7526 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3855, allocations: 75.91 kB / 0.7527 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.386, allocations: 74.83 kB / 0.7528 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3874, allocations: 0.7607 MB / 0.7535 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.3876, allocations: 190.2 kB / 0.7537 GB, free: 480 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.3877, allocations: 30.95 kB / 0.7537 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.3878, allocations: 24.5 kB / 0.7538 GB, free: 428 kB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.3878, allocations: 0 / 0.7538 GB, free: 428 kB / 0.5762 GB Notification: Performance of Templates: time 0.008951/0.3967, allocations: 3.672 MB / 0.7573 GB, free: 12.88 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 -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.838984051719308] Failed to read output from testmodel.py, exit status != 0: 0.40535603649914265 0.42005872000000005 0.042489175000000004 Calling exit ...