Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001321/0.001321, allocations: 78.34 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.001425/0.001425, allocations: 158.7 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.389/1.389, allocations: 177.2 MB / 202.6 MB, free: 9.273 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.002454/0.002454, allocations: 226.3 kB / 259.2 MB, free: 0.5938 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.113 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.003153/0.003153, allocations: 107.8 kB / 0.6467 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.36, allocations: 95.34 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.InternalResistancesOneUTube): time 0.002679/0.3627, allocations: 1.439 MB / 0.7412 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004412/0.3671, allocations: 2.631 MB / 0.7438 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.3672, allocations: 0 / 0.7438 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.3672, allocations: 3.938 kB / 0.7438 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.3672, allocations: 19.84 kB / 0.7438 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.371, allocations: 1.61 MB / 0.7454 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.353e-05/0.3711, allocations: 39.73 kB / 0.7454 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.3711, allocations: 7.984 kB / 0.7454 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.3712, allocations: 15.92 kB / 0.7454 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.001e-05/0.3712, allocations: 19.88 kB / 0.7454 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.3712, allocations: 4 kB / 0.7454 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.3735, allocations: 1.454 MB / 0.7469 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.3735, allocations: 3.938 kB / 0.7469 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.3735, allocations: 19.88 kB / 0.7469 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.375, allocations: 1.069 MB / 0.7479 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.375, allocations: 0 / 0.7479 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.375, allocations: 0 / 0.7479 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.375, allocations: 4 kB / 0.7479 GB, free: 6.875 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.0005842/0.3756, allocations: 467.3 kB / 0.7484 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3756, allocations: 16.62 kB / 0.7484 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.3757, allocations: 80.2 kB / 0.7485 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3758, allocations: 201.7 kB / 0.7487 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.3759, allocations: 150.9 kB / 0.7488 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.376, allocations: 158.9 kB / 0.749 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.3761, allocations: 109.1 kB / 0.7491 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.3761, allocations: 79.27 kB / 0.7491 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.3762, allocations: 150.6 kB / 0.7493 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.152e-05/0.3762, allocations: 150.6 kB / 0.7494 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.3763, allocations: 154.5 kB / 0.7496 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3766, allocations: 417.6 kB / 0.75 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3767, allocations: 177.1 kB / 0.7501 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.3767, allocations: 80.14 kB / 0.7502 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.3768, allocations: 75.28 kB / 0.7503 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.3768, allocations: 113.8 kB / 0.7504 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3768, allocations: 0 / 0.7504 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.615e-05/0.3769, allocations: 33.64 kB / 0.7504 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.377, allocations: 130.6 kB / 0.7505 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3771, allocations: 132.9 kB / 0.7507 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3771, allocations: 25.7 kB / 0.7507 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.3772, allocations: 96.12 kB / 0.7508 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3772, allocations: 4 kB / 0.7508 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.3772, allocations: 13.72 kB / 0.7508 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3774, allocations: 318.8 kB / 0.7511 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.3774, allocations: 4 kB / 0.7511 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.3774, allocations: 4 kB / 0.7511 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.3775, allocations: 16.86 kB / 0.7511 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3775, allocations: 0 / 0.7511 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.3776, allocations: 57.58 kB / 0.7512 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3776, allocations: 7.938 kB / 0.7512 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.3776, allocations: 4 kB / 0.7512 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3776, allocations: 64 / 0.7512 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3776, allocations: 4 kB / 0.7512 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3776, allocations: 3.984 kB / 0.7512 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.3776, allocations: 0 / 0.7512 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3777, allocations: 7.938 kB / 0.7512 GB, free: 3.324 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.0001096/0.3778, allocations: 184.4 kB / 0.7514 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.3778, allocations: 112.9 kB / 0.7515 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.3779, allocations: 124.5 kB / 0.7516 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/0.378, allocations: 176.3 kB / 0.7518 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-05/0.3781, allocations: 180.3 kB / 0.752 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.329e-05/0.3781, allocations: 184.2 kB / 0.7521 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.3784, allocations: 368.8 kB / 0.7525 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-05/0.3784, allocations: 108.9 kB / 0.7526 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3785, allocations: 101 kB / 0.7527 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.172e-05/0.3786, allocations: 180.2 kB / 0.7529 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.3786, allocations: 188.1 kB / 0.753 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.959e-05/0.3787, allocations: 176.3 kB / 0.7532 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-05/0.3788, allocations: 184.2 kB / 0.7534 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.379, allocations: 307.8 kB / 0.7537 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.379, allocations: 108.9 kB / 0.7538 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.3791, allocations: 184.2 kB / 0.754 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.3792, allocations: 112.9 kB / 0.7541 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3793, allocations: 180.3 kB / 0.7542 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.3793, allocations: 104.9 kB / 0.7543 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.3794, allocations: 95.27 kB / 0.7544 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 0 / 0.7544 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006805/0.3801, allocations: 295 kB / 0.7547 GB, free: 15.56 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.001008/0.3811, allocations: 0.5363 MB / 0.7552 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.3812, allocations: 45.7 kB / 0.7553 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.3812, allocations: 0 / 0.7553 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3812, allocations: 0 / 0.7553 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3816, allocations: 459.7 kB / 0.7557 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.382, allocations: 243.6 kB / 0.7559 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.021e-05/0.382, allocations: 63.34 kB / 0.756 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.382, allocations: 7.969 kB / 0.756 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.382, allocations: 12.5 kB / 0.756 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.382, allocations: 0 / 0.756 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.0104/0.3924, allocations: 5.702 MB / 0.7616 GB, free: 8.496 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.852681776508689] Failed to read output from testmodel.py, exit status != 0: 0.4013014454394579 0.416073706 0.037923962000000006 Calling exit ...