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.001679/0.001679, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002033/0.002033, allocations: 223.1 kB / 23.03 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.002552/0.002552, allocations: 291.3 kB / 313.5 MB, free: 2.602 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.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 14.45 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) [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.002799/0.002799, allocations: 91.14 kB / 0.7403 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1794, allocations: 95.39 MB / 0.8335 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002604/0.182, allocations: 1.438 MB / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.1865, allocations: 2.618 MB / 0.8374 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.1865, allocations: 3.938 kB / 0.8374 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.1866, allocations: 3.938 kB / 0.8375 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.1866, allocations: 15.84 kB / 0.8375 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.1908, allocations: 1.642 MB / 0.8391 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.1909, allocations: 43.69 kB / 0.8391 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1909, allocations: 3.984 kB / 0.8391 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.1909, allocations: 11.94 kB / 0.8391 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.191, allocations: 19.92 kB / 0.8391 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.191, allocations: 4 kB / 0.8392 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.1934, allocations: 1.548 MB / 0.8407 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.1934, allocations: 3.938 kB / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1934, allocations: 11.94 kB / 0.8407 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.195, allocations: 1.091 MB / 0.8417 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.195, allocations: 3.938 kB / 0.8417 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.195, allocations: 0 / 0.8417 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.195, allocations: 0 / 0.8417 GB, free: 15.81 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.0006051/0.1956, allocations: 472 kB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1956, allocations: 8.625 kB / 0.8422 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.78e-05/0.1957, allocations: 75.47 kB / 0.8423 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.1957, allocations: 110 kB / 0.8424 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.1958, allocations: 76.22 kB / 0.8425 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1959, allocations: 193.7 kB / 0.8426 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.196, allocations: 158.9 kB / 0.8428 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.1961, allocations: 158.7 kB / 0.8429 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.643e-05/0.1961, allocations: 101 kB / 0.843 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.1962, allocations: 75.28 kB / 0.8431 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.1962, allocations: 154.6 kB / 0.8433 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.1963, allocations: 150.6 kB / 0.8434 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.1963, allocations: 150.6 kB / 0.8435 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.1967, allocations: 440.9 kB / 0.844 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/0.1968, allocations: 173.1 kB / 0.8441 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.1968, allocations: 84.08 kB / 0.8442 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1968, allocations: 75.28 kB / 0.8443 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.1969, allocations: 113.8 kB / 0.8444 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1969, allocations: 0 / 0.8444 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.599e-05/0.197, allocations: 29.64 kB / 0.8444 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.197, allocations: 130.7 kB / 0.8445 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1972, allocations: 139.7 kB / 0.8447 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1972, allocations: 25.7 kB / 0.8447 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.1972, allocations: 88.12 kB / 0.8448 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.1972, allocations: 0 / 0.8448 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1973, allocations: 25.72 kB / 0.8448 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1974, allocations: 314.8 kB / 0.8451 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.1974, allocations: 8 kB / 0.8451 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.1975, allocations: 8 kB / 0.8451 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.1975, allocations: 12.89 kB / 0.8451 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1975, allocations: 0 / 0.8451 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001387/0.1976, allocations: 65.52 kB / 0.8452 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1976, allocations: 4 kB / 0.8452 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.1977, allocations: 7.938 kB / 0.8452 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1977, allocations: 0 / 0.8452 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1977, allocations: 0 / 0.8452 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1977, allocations: 0 / 0.8452 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.1977, allocations: 0 / 0.8452 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1977, allocations: 0 / 0.8452 GB, free: 12.05 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 0.0001102/0.1978, allocations: 205.7 kB / 0.8454 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.1979, allocations: 108.9 kB / 0.8455 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.198, allocations: 112.5 kB / 0.8456 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-05/0.198, allocations: 180.3 kB / 0.8458 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.619e-05/0.1981, allocations: 184.2 kB / 0.846 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.391e-05/0.1982, allocations: 180.3 kB / 0.8461 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1984, allocations: 384.2 kB / 0.8465 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.891e-05/0.1985, allocations: 108.9 kB / 0.8466 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.1985, allocations: 101 kB / 0.8467 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.848e-05/0.1986, allocations: 180.2 kB / 0.8469 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.1987, allocations: 188.2 kB / 0.8471 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.977e-05/0.1987, allocations: 180.3 kB / 0.8472 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.884e-05/0.1988, allocations: 180.2 kB / 0.8474 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.199, allocations: 315.7 kB / 0.8477 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.199, allocations: 108.9 kB / 0.8478 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.1991, allocations: 180.3 kB / 0.848 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.1992, allocations: 104.9 kB / 0.8481 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.1993, allocations: 180.3 kB / 0.8482 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.1993, allocations: 108.9 kB / 0.8484 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.972e-05/0.1994, allocations: 101.8 kB / 0.8485 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 0 / 0.8485 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008223/0.2002, allocations: 295 kB / 0.8487 GB, free: 8.242 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.001428/0.2016, allocations: 1.167 MB / 0.8499 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.2017, allocations: 41.62 kB / 0.8499 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2017, allocations: 0 / 0.8499 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.2018, allocations: 0 / 0.8499 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.2022, allocations: 467.8 kB / 0.8504 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2038, allocations: 1.598 MB / 0.8519 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.2038, allocations: 67.33 kB / 0.852 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.2038, allocations: 4 kB / 0.852 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.2039, allocations: 11.44 kB / 0.852 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of SimCode: time 8.11e-07/0.2039, allocations: 0 / 0.852 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.2343, allocations: 7.29 MB / 0.8591 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 12.58 kB / 0.8591 GB, free: 13.66 MB / 0.6075 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.610604027984664] Failed to read output from testmodel.py, exit status != 0: 11.561837543034926 11.579883553 11.381611836 Calling exit ...