Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.001395/0.001395, allocations: 97.92 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.001521/0.001521, allocations: 221.2 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.452/1.452, 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.002525/0.002525, allocations: 284.8 kB / 313.5 MB, free: 2.645 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.245/1.245, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.00279/0.00279, allocations: 100.6 kB / 0.7403 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1805, allocations: 95.39 MB / 0.8335 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00283/0.1833, allocations: 1.378 MB / 0.8348 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1851, allocations: 1.027 MB / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.1851, allocations: 0 / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.1852, allocations: 4 kB / 0.8358 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.1852, allocations: 11.86 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.1859, allocations: 228.8 kB / 0.8361 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.186, allocations: 35.8 kB / 0.8361 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.186, allocations: 3.938 kB / 0.8361 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1861, allocations: 16 kB / 0.8361 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.1862, allocations: 19.92 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1862, allocations: 0 / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.1868, allocations: 431.4 kB / 0.8365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1868, allocations: 7.938 kB / 0.8366 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.1869, allocations: 7.938 kB / 0.8366 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1872, allocations: 207.4 kB / 0.8368 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1872, allocations: 0 / 0.8368 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1872, allocations: 0 / 0.8368 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.1872, allocations: 0 / 0.8368 GB, free: 4.918 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004434/0.1876, allocations: 321.7 kB / 0.8371 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1877, allocations: 9.219 kB / 0.8371 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.804e-05/0.1877, allocations: 192 / 0.8371 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1877, allocations: 30.75 kB / 0.8371 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1878, allocations: 16.89 kB / 0.8371 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1879, allocations: 110.5 kB / 0.8372 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1879, allocations: 384 / 0.8372 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1879, allocations: 4.359 kB / 0.8372 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.188, allocations: 45.58 kB / 0.8373 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.188, allocations: 3.938 kB / 0.8373 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.188, allocations: 0 / 0.8373 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.188, allocations: 4 kB / 0.8373 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.1881, allocations: 11.98 kB / 0.8373 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1882, allocations: 136.7 kB / 0.8374 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.1883, allocations: 34.58 kB / 0.8375 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.1884, allocations: 12.92 kB / 0.8375 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.1889, allocations: 111.8 kB / 0.8376 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1889, allocations: 30.56 kB / 0.8376 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1889, allocations: 0 / 0.8376 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001711/0.1891, allocations: 61.64 kB / 0.8377 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1891, allocations: 51.41 kB / 0.8377 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.1892, allocations: 105.8 kB / 0.8378 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1892, allocations: 25.7 kB / 0.8378 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.1893, allocations: 84.14 kB / 0.8379 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1893, allocations: 15.91 kB / 0.8379 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1894, allocations: 13.72 kB / 0.8379 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1895, allocations: 322.8 kB / 0.8383 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.1895, allocations: 4 kB / 0.8383 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.1895, allocations: 7.938 kB / 0.8383 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.1896, allocations: 20.86 kB / 0.8383 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1896, allocations: 0 / 0.8383 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.833e-05/0.1897, allocations: 53.91 kB / 0.8383 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1897, allocations: 8 kB / 0.8383 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1897, allocations: 0 / 0.8383 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1897, allocations: 4 kB / 0.8383 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1898, allocations: 16.03 kB / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1898, allocations: 0 / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.1898, allocations: 3.984 kB / 0.8384 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1898, allocations: 3.938 kB / 0.8384 GB, free: 3.074 MB / 0.5762 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.905e-05/0.1899, allocations: 114.5 kB / 0.8385 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.1899, allocations: 7.891 kB / 0.8385 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1901, allocations: 61.67 kB / 0.8385 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1901, allocations: 7.938 kB / 0.8386 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1901, allocations: 0 / 0.8386 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1901, allocations: 7.938 kB / 0.8386 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1902, allocations: 128.8 kB / 0.8387 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1902, allocations: 3.938 kB / 0.8387 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.1903, allocations: 12 kB / 0.8387 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1903, allocations: 0 / 0.8387 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1903, allocations: 3.984 kB / 0.8387 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1903, allocations: 3.938 kB / 0.8387 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1903, allocations: 4 kB / 0.8387 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1904, allocations: 81.11 kB / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.1904, allocations: 7.875 kB / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1904, allocations: 0 / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.1904, allocations: 8 kB / 0.8388 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.1904, allocations: 0 / 0.8388 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1905, allocations: 0 / 0.8388 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.1905, allocations: 91.27 kB / 0.8389 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1905, allocations: 0 / 0.8389 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002328/0.1907, allocations: 39.88 kB / 0.8389 GB, free: 2.418 MB / 0.5762 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 (4): * Single equations (assignments): 4 * 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.0005372/0.1913, allocations: 0.6785 MB / 0.8396 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.73e-05/0.1914, allocations: 15.98 kB / 0.8396 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1914, allocations: 0 / 0.8396 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.1914, allocations: 19.94 kB / 0.8396 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1916, allocations: 5.047 kB / 0.8396 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.1921, allocations: 202.3 kB / 0.8398 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.403e-05/0.1922, allocations: 67.28 kB / 0.8399 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.1922, allocations: 336 / 0.8399 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1922, allocations: 19.44 kB / 0.8399 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1922, allocations: 3.938 kB / 0.8399 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.2143, allocations: 2.467 MB / 0.8423 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.91, allocations: 13.3 kB / 0.8423 GB, free: 15.06 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.201757431961596] Failed to read output from testmodel.py, exit status != 0: 11.078010562923737 11.105228867 10.913154601 Calling exit ...