Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.00141/0.00141, allocations: 78.89 kB / 19 MB, free: 2.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.001482/0.001482, allocations: 159.8 kB / 22.25 MB, free: 5.141 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.385/1.385, allocations: 177.2 MB / 202.6 MB, free: 9.289 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.002463/0.002463, allocations: 229.5 kB / 259.2 MB, free: 0.6133 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.03/1.03, allocations: 138.5 MB / 454.2 MB, free: 2.055 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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.003071/0.003071, allocations: 103.8 kB / 0.6467 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3663, allocations: 95.36 MB / 0.7398 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002491/0.3688, allocations: 1.428 MB / 0.7412 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004463/0.3733, allocations: 2.631 MB / 0.7438 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3733, allocations: 0 / 0.7438 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.3733, allocations: 7.922 kB / 0.7438 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.539e-05/0.3734, allocations: 11.86 kB / 0.7438 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.3776, allocations: 1.616 MB / 0.7454 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.3777, allocations: 43.73 kB / 0.7454 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.3777, allocations: 0 / 0.7454 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.3777, allocations: 27.92 kB / 0.7454 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.3778, allocations: 19.86 kB / 0.7454 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.3778, allocations: 0 / 0.7454 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.3802, allocations: 1.447 MB / 0.7469 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3802, allocations: 11.98 kB / 0.7469 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3803, allocations: 15.88 kB / 0.7469 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.3818, allocations: 1.069 MB / 0.7479 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3819, allocations: 3.984 kB / 0.7479 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3819, allocations: 0 / 0.7479 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3819, allocations: 4 kB / 0.7479 GB, free: 6.883 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006588/0.3825, allocations: 472 kB / 0.7484 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3826, allocations: 12.62 kB / 0.7484 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.3826, allocations: 76.22 kB / 0.7485 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3828, allocations: 193.7 kB / 0.7486 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.3828, allocations: 158.9 kB / 0.7488 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.3829, allocations: 150.9 kB / 0.7489 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/0.383, allocations: 113 kB / 0.7491 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.383, allocations: 75.28 kB / 0.7491 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.3831, allocations: 154.6 kB / 0.7493 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.3832, allocations: 150.6 kB / 0.7494 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.3832, allocations: 154.6 kB / 0.7496 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.3836, allocations: 409.6 kB / 0.75 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3837, allocations: 181 kB / 0.7501 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.3837, allocations: 80.14 kB / 0.7502 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.3837, allocations: 79.28 kB / 0.7503 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.3838, allocations: 109.8 kB / 0.7504 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3838, allocations: 0 / 0.7504 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.294e-05/0.3839, allocations: 33.62 kB / 0.7504 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.384, allocations: 126.7 kB / 0.7505 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3841, allocations: 136 kB / 0.7507 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3841, allocations: 33.64 kB / 0.7507 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3842, allocations: 88.14 kB / 0.7508 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3842, allocations: 0 / 0.7508 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3842, allocations: 21.7 kB / 0.7508 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3844, allocations: 314.8 kB / 0.7511 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.3844, allocations: 8 kB / 0.7511 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.3844, allocations: 8 kB / 0.7511 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.3845, allocations: 12.84 kB / 0.7511 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3845, allocations: 0 / 0.7511 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.3846, allocations: 49.66 kB / 0.7512 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3846, allocations: 7.938 kB / 0.7512 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3846, allocations: 8.062 kB / 0.7512 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3846, allocations: 0 / 0.7512 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.3846, allocations: 3.938 kB / 0.7512 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.3847, allocations: 3.984 kB / 0.7512 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.3847, allocations: 7.922 kB / 0.7512 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3847, allocations: 0 / 0.7512 GB, free: 3.34 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001065/0.3848, allocations: 185.1 kB / 0.7514 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.3849, allocations: 112.9 kB / 0.7515 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.3849, allocations: 112.6 kB / 0.7516 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-05/0.385, allocations: 188.2 kB / 0.7518 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.168e-05/0.3851, allocations: 184.3 kB / 0.752 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.332e-05/0.3852, allocations: 180.2 kB / 0.7521 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3854, allocations: 364.9 kB / 0.7525 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.976e-05/0.3855, allocations: 101 kB / 0.7526 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.3855, allocations: 108.9 kB / 0.7527 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-05/0.3856, allocations: 180.2 kB / 0.7528 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.3857, allocations: 184.2 kB / 0.753 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-05/0.3858, allocations: 184.2 kB / 0.7532 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.318e-05/0.3859, allocations: 184.2 kB / 0.7534 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.386, allocations: 307.8 kB / 0.7537 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.3861, allocations: 112.9 kB / 0.7538 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.3862, allocations: 188.2 kB / 0.754 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.3863, allocations: 104.9 kB / 0.7541 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.3864, allocations: 184.2 kB / 0.7542 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.3864, allocations: 101 kB / 0.7543 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.3865, allocations: 97.92 kB / 0.7544 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3865, allocations: 0 / 0.7544 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007974/0.3873, allocations: 295 kB / 0.7547 GB, free: 15.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001049/0.3883, allocations: 0.5385 MB / 0.7552 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.3884, allocations: 37.7 kB / 0.7553 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3884, allocations: 0 / 0.7553 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.3885, allocations: 4 kB / 0.7553 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3889, allocations: 467.7 kB / 0.7557 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3892, allocations: 236.6 kB / 0.7559 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.3893, allocations: 71.39 kB / 0.756 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.353e-05/0.3893, allocations: 3.906 kB / 0.756 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.3893, allocations: 12.5 kB / 0.756 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.3893, allocations: 0 / 0.756 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of Templates: time 0.01072/0.4001, allocations: 5.706 MB / 0.7616 GB, free: 8.504 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.802950611338019] Failed to read output from testmodel.py, exit status != 0: 0.408441387116909 0.42366241899999996 0.03858401 Calling exit ...