Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001686/0.001686, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002121/0.002121, allocations: 161 kB / 23.01 MB, free: 4.945 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.002657/0.002657, allocations: 233.2 kB / 260 MB, free: 432 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.9265/0.9265, 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [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.003077/0.003077, allocations: 102 kB / 0.6474 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3962, allocations: 95.34 MB / 0.7405 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002478/0.3987, allocations: 1.445 MB / 0.7419 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003871/0.4026, allocations: 2.666 MB / 0.7445 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.4026, allocations: 1.125 kB / 0.7445 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.4027, allocations: 5.25 kB / 0.7446 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.4027, allocations: 16.27 kB / 0.7446 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.4066, allocations: 1.653 MB / 0.7462 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.284e-05/0.4066, allocations: 41.56 kB / 0.7462 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.4067, allocations: 7.312 kB / 0.7462 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.4067, allocations: 17.34 kB / 0.7462 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.859e-05/0.4067, allocations: 17.95 kB / 0.7463 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.4067, allocations: 1.375 kB / 0.7463 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.4089, allocations: 1.482 MB / 0.7477 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.409, allocations: 3.047 kB / 0.7477 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.409, allocations: 15.52 kB / 0.7477 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.4105, allocations: 1.101 MB / 0.7488 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4105, allocations: 5 kB / 0.7488 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4105, allocations: 0 / 0.7488 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4105, allocations: 3.938 kB / 0.7488 GB, free: 13.5 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.0005236/0.411, allocations: 475.3 kB / 0.7493 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4111, allocations: 11.5 kB / 0.7493 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.4111, allocations: 85.42 kB / 0.7494 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.4112, allocations: 196.4 kB / 0.7495 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4112, allocations: 154 kB / 0.7497 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4112, allocations: 150.9 kB / 0.7498 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.517e-05/0.4113, allocations: 106 kB / 0.7499 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4113, allocations: 81.12 kB / 0.75 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4113, allocations: 151.7 kB / 0.7502 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.4113, allocations: 150.6 kB / 0.7503 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.4113, allocations: 155.5 kB / 0.7505 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.4115, allocations: 417.4 kB / 0.7509 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.358e-05/0.4116, allocations: 175.6 kB / 0.751 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.4116, allocations: 80.8 kB / 0.7511 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4116, allocations: 76.88 kB / 0.7512 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4116, allocations: 111.9 kB / 0.7513 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4116, allocations: 0 / 0.7513 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.35e-05/0.4117, allocations: 40.94 kB / 0.7513 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.4117, allocations: 127.4 kB / 0.7514 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4118, allocations: 135.6 kB / 0.7516 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.4118, allocations: 25.7 kB / 0.7516 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.4118, allocations: 92.64 kB / 0.7517 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.4118, allocations: 0 / 0.7517 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4119, allocations: 17.12 kB / 0.7517 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.4119, allocations: 318.8 kB / 0.752 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.4119, allocations: 3.688 kB / 0.752 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.412, allocations: 8.156 kB / 0.752 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.412, allocations: 16.02 kB / 0.752 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.412, allocations: 8.625 kB / 0.752 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.4121, allocations: 50.41 kB / 0.7521 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4121, allocations: 8.531 kB / 0.7521 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.4121, allocations: 3.719 kB / 0.7521 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4122, allocations: 1.953 kB / 0.7521 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.4122, allocations: 0 / 0.7521 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4122, allocations: 0 / 0.7521 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.4122, allocations: 2.438 kB / 0.7521 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.4122, allocations: 1.188 kB / 0.7521 GB, free: 10.17 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.908e-05/0.4122, allocations: 188.4 kB / 0.7523 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.4123, allocations: 119.8 kB / 0.7524 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.4123, allocations: 112.7 kB / 0.7525 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.4123, allocations: 186.3 kB / 0.7527 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/0.4123, allocations: 182 kB / 0.7529 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.4124, allocations: 178.4 kB / 0.753 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.4125, allocations: 366.4 kB / 0.7534 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.4125, allocations: 103 kB / 0.7535 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.4125, allocations: 106.7 kB / 0.7536 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/0.4125, allocations: 182.1 kB / 0.7537 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.4126, allocations: 186.6 kB / 0.7539 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.65e-05/0.4126, allocations: 182.2 kB / 0.7541 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-05/0.4126, allocations: 185.3 kB / 0.7543 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.698e-05/0.4127, allocations: 313.2 kB / 0.7546 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.4127, allocations: 108 kB / 0.7547 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.4127, allocations: 188.2 kB / 0.7549 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.4128, allocations: 101.6 kB / 0.755 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.4128, allocations: 186.7 kB / 0.7551 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4128, allocations: 110.7 kB / 0.7552 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.4129, allocations: 98.05 kB / 0.7553 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4129, allocations: 0 / 0.7553 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007611/0.4136, allocations: 294.2 kB / 0.7556 GB, free: 6.676 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.00094/0.4146, allocations: 0.5575 MB / 0.7562 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.4146, allocations: 40.66 kB / 0.7562 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4146, allocations: 3.938 kB / 0.7562 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4146, allocations: 0 / 0.7562 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4149, allocations: 467.4 kB / 0.7566 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.4152, allocations: 239.3 kB / 0.7569 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.4152, allocations: 67.27 kB / 0.7569 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.126e-05/0.4152, allocations: 0 / 0.7569 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-06/0.4152, allocations: 14.81 kB / 0.7569 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.4152, allocations: 0 / 0.7569 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of Templates: time 0.009476/0.4247, allocations: 5.87 MB / 0.7627 GB, free: 2.988 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.035268620937131] Failed to read output from testmodel.py, exit status != 0: 0.4321830200497061 0.44494978700000004 0.031536589000000004 Calling exit ...