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.001318/0.001318, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001427/0.001427, allocations: 156.5 kB / 23 MB, free: 4.949 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.953 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.002587/0.002587, allocations: 237.8 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.9207/0.9207, 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.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.003146/0.003146, allocations: 106 kB / 0.6474 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3948, allocations: 95.34 MB / 0.7405 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00229/0.3971, allocations: 1.432 MB / 0.7419 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.4007, allocations: 2.629 MB / 0.7445 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.4008, allocations: 0 / 0.7445 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.4008, allocations: 5.906 kB / 0.7445 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.4008, allocations: 18.69 kB / 0.7445 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.4044, allocations: 1.626 MB / 0.7461 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.4044, allocations: 40.67 kB / 0.7461 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.4045, allocations: 2.078 kB / 0.7461 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.4045, allocations: 13.5 kB / 0.7462 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.806e-05/0.4045, allocations: 22.28 kB / 0.7462 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.4045, allocations: 1.375 kB / 0.7462 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.4066, allocations: 1.449 MB / 0.7476 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.4067, allocations: 3.109 kB / 0.7476 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.4067, allocations: 20.19 kB / 0.7476 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.4082, allocations: 1.076 MB / 0.7487 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4082, allocations: 0.7969 kB / 0.7487 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4082, allocations: 0 / 0.7487 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4082, allocations: 1.625 kB / 0.7487 GB, free: 13.32 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.000503/0.4087, allocations: 468.1 kB / 0.7491 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.4087, allocations: 10.98 kB / 0.7491 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.4088, allocations: 78.69 kB / 0.7492 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.4088, allocations: 196.3 kB / 0.7494 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4089, allocations: 152.1 kB / 0.7495 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4089, allocations: 156.2 kB / 0.7497 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.717e-05/0.4089, allocations: 111 kB / 0.7498 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4089, allocations: 79.22 kB / 0.7499 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.409, allocations: 152.4 kB / 0.75 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.409, allocations: 151.8 kB / 0.7502 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.409, allocations: 150.6 kB / 0.7503 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.4092, allocations: 412.8 kB / 0.7507 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.4092, allocations: 172.2 kB / 0.7509 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.4092, allocations: 84.08 kB / 0.7509 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.4092, allocations: 76.78 kB / 0.751 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4093, allocations: 107.9 kB / 0.7511 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4093, allocations: 4 kB / 0.7511 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.051e-05/0.4093, allocations: 37.25 kB / 0.7512 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.4093, allocations: 127.4 kB / 0.7513 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.4094, allocations: 133.8 kB / 0.7514 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.4095, allocations: 25.7 kB / 0.7514 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.4095, allocations: 96.48 kB / 0.7515 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.4095, allocations: 0 / 0.7515 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.4095, allocations: 20.16 kB / 0.7515 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.4096, allocations: 318.2 kB / 0.7518 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.4096, allocations: 8.188 kB / 0.7518 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.4096, allocations: 2.984 kB / 0.7519 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.4096, allocations: 23.88 kB / 0.7519 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4096, allocations: 3.938 kB / 0.7519 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.4097, allocations: 49.7 kB / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4097, allocations: 9.5 kB / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.4098, allocations: 2.938 kB / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4098, allocations: 0 / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.4098, allocations: 2.141 kB / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.4098, allocations: 0 / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.4098, allocations: 1.906 kB / 0.7519 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.4098, allocations: 0 / 0.7519 GB, free: 10 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.72e-05/0.4099, allocations: 192.7 kB / 0.7521 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.4099, allocations: 112.1 kB / 0.7522 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.4099, allocations: 117.5 kB / 0.7523 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.41, allocations: 182 kB / 0.7525 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/0.41, allocations: 182.2 kB / 0.7527 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.41, allocations: 183 kB / 0.7529 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.4101, allocations: 360.8 kB / 0.7532 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.4101, allocations: 110.7 kB / 0.7533 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.4101, allocations: 107.2 kB / 0.7534 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/0.4102, allocations: 178.1 kB / 0.7536 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4102, allocations: 189.7 kB / 0.7538 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.08e-05/0.4102, allocations: 178.7 kB / 0.7539 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-05/0.4102, allocations: 182.1 kB / 0.7541 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.09e-05/0.4103, allocations: 308.8 kB / 0.7544 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.4103, allocations: 112.7 kB / 0.7545 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.4103, allocations: 182.9 kB / 0.7547 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.4104, allocations: 102.2 kB / 0.7548 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.4104, allocations: 186.2 kB / 0.755 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4104, allocations: 103 kB / 0.7551 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.4105, allocations: 100.9 kB / 0.7552 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4105, allocations: 0 / 0.7552 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007373/0.4112, allocations: 297.1 kB / 0.7554 GB, free: 6.512 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.0009279/0.4121, allocations: 0.531 MB / 0.756 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.4122, allocations: 42.12 kB / 0.756 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4122, allocations: 1.219 kB / 0.756 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.4122, allocations: 0.5625 kB / 0.756 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.4125, allocations: 459.5 kB / 0.7564 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.4128, allocations: 249.8 kB / 0.7567 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.4128, allocations: 66.59 kB / 0.7567 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.116e-05/0.4128, allocations: 0 / 0.7567 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.4128, allocations: 15.06 kB / 0.7568 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.4128, allocations: 0 / 0.7568 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of Templates: time 0.009418/0.4222, allocations: 5.714 MB / 0.7623 GB, free: 2.984 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 -s ida -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.950783313019201] Failed to read output from testmodel.py, exit status != 0: 0.42991238401737064 0.44295953499999996 0.03172945 Calling exit ...