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.001309/0.001309, 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.001466/0.001466, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.392/1.392, allocations: 177.2 MB / 203.4 MB, free: 8.984 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.00245/0.00245, allocations: 234.4 kB / 260 MB, free: 476 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.928/0.928, allocations: 138.5 MB / 455 MB, free: 15.1 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.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.003072/0.003072, allocations: 103.8 kB / 0.6474 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3894, allocations: 95.34 MB / 0.7405 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002169/0.3915, allocations: 1.439 MB / 0.7419 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.3952, allocations: 2.635 MB / 0.7445 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.3952, allocations: 0 / 0.7445 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.3953, allocations: 6.016 kB / 0.7445 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.3953, allocations: 16 kB / 0.7445 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.3993, allocations: 1.609 MB / 0.7461 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.3994, allocations: 44.44 kB / 0.7461 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.3994, allocations: 3.031 kB / 0.7461 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.3995, allocations: 13.41 kB / 0.7462 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.3995, allocations: 13.42 kB / 0.7462 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3995, allocations: 1.656 kB / 0.7462 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.4018, allocations: 1.458 MB / 0.7476 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.4019, allocations: 6.047 kB / 0.7476 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.4019, allocations: 11.73 kB / 0.7476 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4034, allocations: 1.077 MB / 0.7487 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4034, allocations: 0 / 0.7487 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4034, allocations: 1.125 kB / 0.7487 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4034, allocations: 0 / 0.7487 GB, free: 13.34 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005005/0.4039, allocations: 469.5 kB / 0.7491 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4039, allocations: 9.75 kB / 0.7491 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.404, allocations: 79.7 kB / 0.7492 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.404, allocations: 199.7 kB / 0.7494 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4041, allocations: 157.3 kB / 0.7495 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4041, allocations: 156.3 kB / 0.7497 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.412e-05/0.4041, allocations: 105.1 kB / 0.7498 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4041, allocations: 77.45 kB / 0.7499 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.4041, allocations: 154.6 kB / 0.75 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4042, allocations: 151.7 kB / 0.7501 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.4042, allocations: 152.7 kB / 0.7503 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.4043, allocations: 415.8 kB / 0.7507 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.4044, allocations: 171 kB / 0.7509 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.4044, allocations: 80.14 kB / 0.7509 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.4044, allocations: 76.53 kB / 0.751 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.4044, allocations: 111.7 kB / 0.7511 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4044, allocations: 0 / 0.7511 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.101e-05/0.4045, allocations: 38.17 kB / 0.7511 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.4045, allocations: 127.4 kB / 0.7513 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4046, allocations: 137.6 kB / 0.7514 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.4046, allocations: 25.7 kB / 0.7514 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.4046, allocations: 92.08 kB / 0.7515 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.4046, allocations: 0 / 0.7515 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.4047, allocations: 20.05 kB / 0.7515 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.4047, allocations: 319.4 kB / 0.7518 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.4047, allocations: 3.359 kB / 0.7518 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.4047, allocations: 11.11 kB / 0.7518 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.4048, allocations: 16.48 kB / 0.7519 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4048, allocations: 4 kB / 0.7519 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001045/0.4049, allocations: 50.3 kB / 0.7519 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4049, allocations: 12.81 kB / 0.7519 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4049, allocations: 2.203 kB / 0.7519 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4049, allocations: 1.062 kB / 0.7519 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.4049, allocations: 0.6562 kB / 0.7519 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.4049, allocations: 0 / 0.7519 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.4049, allocations: 4.969 kB / 0.7519 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.405, allocations: 7.344 kB / 0.7519 GB, free: 10.01 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 (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 4.418e-05/0.405, allocations: 185.9 kB / 0.7521 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.405, allocations: 112.1 kB / 0.7522 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.4051, allocations: 116.5 kB / 0.7523 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.4051, allocations: 178.4 kB / 0.7525 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.4051, allocations: 190.6 kB / 0.7527 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.4051, allocations: 177.9 kB / 0.7529 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.4052, allocations: 361.3 kB / 0.7532 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.4052, allocations: 106.9 kB / 0.7533 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.4053, allocations: 103.4 kB / 0.7534 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/0.4053, allocations: 190 kB / 0.7536 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.4053, allocations: 181.9 kB / 0.7538 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.95e-05/0.4053, allocations: 182.5 kB / 0.7539 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/0.4053, allocations: 182 kB / 0.7541 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.59e-05/0.4054, allocations: 309.1 kB / 0.7544 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.4054, allocations: 108.9 kB / 0.7545 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.4054, allocations: 182.1 kB / 0.7547 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.4055, allocations: 107 kB / 0.7548 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.4055, allocations: 178.1 kB / 0.755 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4055, allocations: 110.8 kB / 0.7551 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.4056, allocations: 98.08 kB / 0.7552 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4056, allocations: 4 kB / 0.7552 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007557/0.4063, allocations: 293.6 kB / 0.7554 GB, free: 6.527 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.0009158/0.4073, allocations: 0.5334 MB / 0.756 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.4074, allocations: 34.67 kB / 0.756 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4074, allocations: 0 / 0.756 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/0.4074, allocations: 1.469 kB / 0.756 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4076, allocations: 476.5 kB / 0.7564 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.4079, allocations: 239.3 kB / 0.7567 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.4079, allocations: 66.31 kB / 0.7567 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.166e-05/0.4079, allocations: 0 / 0.7567 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.408, allocations: 10.88 kB / 0.7567 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.408, allocations: 0 / 0.7567 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of Templates: time 0.009442/0.4174, allocations: 5.713 MB / 0.7623 GB, free: 3.004 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 -s ida -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.953140862984583] Failed to read output from testmodel.py, exit status != 0: 0.425099513027817 0.43780845599999996 0.031504308 Calling exit ...