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.001642/0.001642, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002005/0.002005, allocations: 219 kB / 23.01 MB, free: 4.609 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002584/0.002584, allocations: 293.7 kB / 313.5 MB, free: 2.805 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.272/1.272, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [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.002889/0.002889, allocations: 91.11 kB / 0.7409 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2067, allocations: 95.39 MB / 0.834 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002977/0.2097, allocations: 1.385 MB / 0.8354 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2118, allocations: 1.163 MB / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.2119, allocations: 0 / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.2119, allocations: 0 / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.212, allocations: 15.86 kB / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.2127, allocations: 229.1 kB / 0.8368 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.2127, allocations: 27.86 kB / 0.8368 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.2128, allocations: 11.92 kB / 0.8368 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2129, allocations: 15.94 kB / 0.8368 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.213, allocations: 11.92 kB / 0.8368 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.213, allocations: 0 / 0.8368 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.2137, allocations: 447.4 kB / 0.8372 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.2137, allocations: 3.984 kB / 0.8373 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.2138, allocations: 19.86 kB / 0.8373 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.2141, allocations: 203.4 kB / 0.8375 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2141, allocations: 0 / 0.8375 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2141, allocations: 3.938 kB / 0.8375 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.2141, allocations: 0 / 0.8375 GB, free: 4.586 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.0005529/0.2147, allocations: 313.7 kB / 0.8378 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2147, allocations: 13.34 kB / 0.8378 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.2148, allocations: 12.89 kB / 0.8378 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2149, allocations: 106.5 kB / 0.8379 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2149, allocations: 4.375 kB / 0.8379 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.2149, allocations: 384 / 0.8379 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2151, allocations: 45.94 kB / 0.8379 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2151, allocations: 0 / 0.8379 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2151, allocations: 4 kB / 0.8379 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2151, allocations: 0 / 0.8379 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.2152, allocations: 15.97 kB / 0.838 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.2154, allocations: 140.7 kB / 0.8381 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.2155, allocations: 42.56 kB / 0.8381 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.2155, allocations: 8.891 kB / 0.8381 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/0.2161, allocations: 95.95 kB / 0.8382 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2161, allocations: 42.44 kB / 0.8383 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2161, allocations: 0 / 0.8383 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001905/0.2163, allocations: 53.64 kB / 0.8383 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.2163, allocations: 55.41 kB / 0.8384 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.2164, allocations: 105.8 kB / 0.8385 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2164, allocations: 33.7 kB / 0.8385 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.2165, allocations: 80.14 kB / 0.8386 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.2165, allocations: 15.91 kB / 0.8386 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.2165, allocations: 9.719 kB / 0.8386 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2167, allocations: 322.8 kB / 0.8389 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.2167, allocations: 4 kB / 0.8389 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.2167, allocations: 4 kB / 0.8389 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.2168, allocations: 24.78 kB / 0.839 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2168, allocations: 8 kB / 0.839 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.915e-05/0.2169, allocations: 45.7 kB / 0.839 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2169, allocations: 11.94 kB / 0.839 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2169, allocations: 0 / 0.839 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2169, allocations: 3.984 kB / 0.839 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.217, allocations: 12 kB / 0.839 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.217, allocations: 0 / 0.839 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.217, allocations: 0 / 0.839 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.217, allocations: 4 kB / 0.839 GB, free: 2.797 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 8.748e-05/0.2171, allocations: 114.4 kB / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.2171, allocations: 11.88 kB / 0.8392 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.2173, allocations: 61.69 kB / 0.8392 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2173, allocations: 3.938 kB / 0.8392 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2173, allocations: 0 / 0.8392 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2173, allocations: 0 / 0.8392 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2174, allocations: 136.7 kB / 0.8394 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2174, allocations: 0 / 0.8394 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.2175, allocations: 15.98 kB / 0.8394 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2175, allocations: 8.25 kB / 0.8394 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.2175, allocations: 4 kB / 0.8394 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2175, allocations: 0 / 0.8394 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2175, allocations: 4 kB / 0.8394 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2176, allocations: 85.03 kB / 0.8395 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.2176, allocations: 15.88 kB / 0.8395 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2176, allocations: 3.984 kB / 0.8395 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.2177, allocations: 0 / 0.8395 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.2177, allocations: 4 kB / 0.8395 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2177, allocations: 4 kB / 0.8395 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.2177, allocations: 83.28 kB / 0.8396 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2177, allocations: 0 / 0.8396 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002257/0.2179, allocations: 43.86 kB / 0.8396 GB, free: 2.125 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.0002488/0.2182, allocations: 155 kB / 0.8398 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.2183, allocations: 23.92 kB / 0.8398 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2183, allocations: 0 / 0.8398 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.2183, allocations: 16 kB / 0.8398 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.2185, allocations: 9.031 kB / 0.8398 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.2189, allocations: 174.4 kB / 0.84 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2192, allocations: 0.6807 MB / 0.8406 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.2192, allocations: 7.438 kB / 0.8406 GB, free: 1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2192, allocations: 4 kB / 0.8406 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of Templates: time 0.002775/0.222, allocations: 1.133 MB / 0.8418 GB, free: 15.88 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.52914188313298] Failed to read output from testmodel.py, exit status != 0: 0.22937750001437962 0.243334669 0.026295902000000003 Calling exit ...