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.001282/0.001282, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001485/0.001485, allocations: 217 kB / 22.25 MB, free: 5.082 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 8.023 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.003408/0.003408, allocations: 283.8 kB / 312.7 MB, free: 2.828 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",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.004247/0.004247, allocations: 100.3 kB / 0.7397 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1741, allocations: 95.39 MB / 0.8328 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002695/0.1768, allocations: 1.45 MB / 0.8342 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.1813, allocations: 2.948 MB / 0.8371 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.1814, allocations: 0 / 0.8371 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.1814, allocations: 3.938 kB / 0.8371 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.1815, allocations: 19.84 kB / 0.8371 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.1858, allocations: 1.69 MB / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1859, allocations: 43.73 kB / 0.8388 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.1859, allocations: 8 kB / 0.8388 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.1859, allocations: 15.94 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.186, allocations: 19.86 kB / 0.8389 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.186, allocations: 0 / 0.8389 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.1888, allocations: 1.712 MB / 0.8405 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.1888, allocations: 7.984 kB / 0.8405 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.1888, allocations: 19.86 kB / 0.8406 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.1907, allocations: 1.118 MB / 0.8417 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1907, allocations: 0 / 0.8417 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1907, allocations: 4 kB / 0.8417 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1907, allocations: 0 / 0.8417 GB, free: 15.55 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.0006807/0.1914, allocations: 472 kB / 0.8421 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1914, allocations: 8.625 kB / 0.8421 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.1915, allocations: 106 kB / 0.8422 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.1916, allocations: 84.17 kB / 0.8423 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1917, allocations: 199.7 kB / 0.8425 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/0.1918, allocations: 154.9 kB / 0.8426 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.1918, allocations: 154.9 kB / 0.8428 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.828e-05/0.1919, allocations: 104.9 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.1919, allocations: 75.28 kB / 0.843 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.192, allocations: 154.5 kB / 0.8431 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-05/0.192, allocations: 150.6 kB / 0.8433 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.1921, allocations: 158.5 kB / 0.8434 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1924, allocations: 440.9 kB / 0.8438 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.1925, allocations: 169.1 kB / 0.844 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.1925, allocations: 84.14 kB / 0.8441 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1926, allocations: 83.22 kB / 0.8441 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.1926, allocations: 105.8 kB / 0.8442 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1926, allocations: 0 / 0.8442 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.909e-05/0.1927, allocations: 37.59 kB / 0.8443 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1928, allocations: 126.7 kB / 0.8444 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1929, allocations: 129.8 kB / 0.8445 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1929, allocations: 25.7 kB / 0.8446 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.193, allocations: 100.1 kB / 0.8446 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.193, allocations: 0 / 0.8446 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.193, allocations: 21.77 kB / 0.8447 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1931, allocations: 314.8 kB / 0.845 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.1931, allocations: 11.98 kB / 0.845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.1932, allocations: 4 kB / 0.845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.1932, allocations: 8.859 kB / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1932, allocations: 0 / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001219/0.1933, allocations: 57.61 kB / 0.845 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1933, allocations: 9.859 kB / 0.8451 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.1934, allocations: 4 kB / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1934, allocations: 3.938 kB / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1934, allocations: 0 / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1934, allocations: 0 / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.1934, allocations: 3.953 kB / 0.8451 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1934, allocations: 0 / 0.8451 GB, free: 11.86 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 9.739e-05/0.1935, allocations: 185.8 kB / 0.8452 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.1936, allocations: 120.9 kB / 0.8454 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.1936, allocations: 112.6 kB / 0.8455 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.867e-05/0.1937, allocations: 176.3 kB / 0.8456 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/0.1938, allocations: 184.2 kB / 0.8458 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-05/0.1938, allocations: 176.3 kB / 0.846 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1941, allocations: 396.2 kB / 0.8464 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-05/0.1941, allocations: 105 kB / 0.8465 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.1942, allocations: 101 kB / 0.8466 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.1942, allocations: 180.2 kB / 0.8467 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.1943, allocations: 180.3 kB / 0.8469 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.248e-05/0.1944, allocations: 184.2 kB / 0.8471 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-05/0.1944, allocations: 184.2 kB / 0.8472 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1946, allocations: 311.7 kB / 0.8475 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.1946, allocations: 116.9 kB / 0.8477 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.1947, allocations: 184.2 kB / 0.8478 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.1948, allocations: 109 kB / 0.8479 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.1949, allocations: 176.3 kB / 0.8481 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.1949, allocations: 108.9 kB / 0.8482 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.195, allocations: 99.27 kB / 0.8483 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 0.8483 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007433/0.1957, allocations: 291 kB / 0.8486 GB, free: 8.059 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.001438/0.1972, allocations: 1.178 MB / 0.8497 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.1973, allocations: 41.64 kB / 0.8498 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1973, allocations: 0 / 0.8498 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.1973, allocations: 3.938 kB / 0.8498 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1977, allocations: 471.7 kB / 0.8502 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1991, allocations: 1.588 MB / 0.8518 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1994, allocations: 0.6845 MB / 0.8524 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.1994, allocations: 4.031 kB / 0.8524 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1995, allocations: 19.42 kB / 0.8525 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1995, allocations: 0 / 0.8525 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.2424, allocations: 7.171 MB / 0.8595 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.33, allocations: 4.594 kB / 0.8595 GB, free: 12.96 MB / 0.6075 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.09394857706502] Failed to read output from testmodel.py, exit status != 0: 13.432590432930738 13.457130651 13.261701747 Calling exit ...