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.001317/0.001317, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001478/0.001478, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002503/0.002503, allocations: 291.2 kB / 313.5 MB, free: 2.82 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.307/1.307, allocations: 180.6 MB / 0.5377 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 178] 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.00281/0.00281, allocations: 105.8 kB / 0.7404 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1924, allocations: 95.39 MB / 0.8336 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002595/0.195, allocations: 1.382 MB / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1969, allocations: 1.171 MB / 0.8361 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.1969, allocations: 0 / 0.8361 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.197, allocations: 3.938 kB / 0.8361 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.197, allocations: 7.922 kB / 0.8361 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.1977, allocations: 225.1 kB / 0.8363 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.1977, allocations: 39.84 kB / 0.8363 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.1978, allocations: 7.922 kB / 0.8363 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1979, allocations: 11.94 kB / 0.8363 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.198, allocations: 19.92 kB / 0.8364 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.198, allocations: 0 / 0.8364 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006778/0.1987, allocations: 435.5 kB / 0.8368 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.1987, allocations: 11.98 kB / 0.8368 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.1987, allocations: 15.86 kB / 0.8368 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.199, allocations: 203.4 kB / 0.837 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.199, allocations: 0 / 0.837 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.199, allocations: 0 / 0.837 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.199, allocations: 3.938 kB / 0.837 GB, free: 5.098 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.0004793/0.1995, allocations: 317.7 kB / 0.8373 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1996, allocations: 8.625 kB / 0.8373 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.1996, allocations: 8.188 kB / 0.8373 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.1996, allocations: 30.75 kB / 0.8374 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.1996, allocations: 4.891 kB / 0.8374 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1997, allocations: 106.5 kB / 0.8375 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1998, allocations: 384 / 0.8375 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1998, allocations: 8.359 kB / 0.8375 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1999, allocations: 41.62 kB / 0.8375 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1999, allocations: 0 / 0.8375 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1999, allocations: 0 / 0.8375 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1999, allocations: 8 kB / 0.8375 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.2, allocations: 19.92 kB / 0.8375 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.2001, allocations: 132.7 kB / 0.8377 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.2002, allocations: 38.56 kB / 0.8377 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.2002, allocations: 12.89 kB / 0.8377 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/0.2008, allocations: 95.89 kB / 0.8378 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.2008, allocations: 42.56 kB / 0.8378 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2008, allocations: 0 / 0.8378 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001784/0.201, allocations: 65.58 kB / 0.8379 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.201, allocations: 51.41 kB / 0.838 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.2011, allocations: 113.8 kB / 0.8381 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2011, allocations: 25.7 kB / 0.8381 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.2012, allocations: 84.14 kB / 0.8382 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.2012, allocations: 11.91 kB / 0.8382 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.2012, allocations: 21.7 kB / 0.8382 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2014, allocations: 310.8 kB / 0.8385 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.2014, allocations: 12 kB / 0.8385 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.2014, allocations: 4 kB / 0.8385 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.2015, allocations: 24.84 kB / 0.8385 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2015, allocations: 0 / 0.8385 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.753e-05/0.2016, allocations: 53.58 kB / 0.8386 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2016, allocations: 7.984 kB / 0.8386 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2016, allocations: 0 / 0.8386 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2016, allocations: 0 / 0.8386 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.2017, allocations: 12 kB / 0.8386 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2017, allocations: 0 / 0.8386 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.2017, allocations: 4 kB / 0.8386 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2017, allocations: 8 kB / 0.8386 GB, free: 3.254 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.169e-05/0.2018, allocations: 110.5 kB / 0.8387 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2018, allocations: 12.22 kB / 0.8387 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.202, allocations: 65.61 kB / 0.8388 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.202, allocations: 0 / 0.8388 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.202, allocations: 0 / 0.8388 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.202, allocations: 0 / 0.8388 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2021, allocations: 132.7 kB / 0.8389 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2021, allocations: 7.938 kB / 0.8389 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.2022, allocations: 12 kB / 0.8389 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2022, allocations: 3.938 kB / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2022, allocations: 0 / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2022, allocations: 0 / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2022, allocations: 4 kB / 0.839 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2023, allocations: 81.05 kB / 0.839 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.2023, allocations: 15.86 kB / 0.839 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2023, allocations: 4 kB / 0.839 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.2024, allocations: 8 kB / 0.8391 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.2024, allocations: 0 / 0.8391 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2024, allocations: 0 / 0.8391 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.2024, allocations: 91.25 kB / 0.8391 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2024, allocations: 0 / 0.8391 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002379/0.2027, allocations: 39.88 kB / 0.8392 GB, free: 2.594 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.0005974/0.2033, allocations: 0.6824 MB / 0.8398 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.2034, allocations: 23.94 kB / 0.8399 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2034, allocations: 0 / 0.8399 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.2034, allocations: 11.98 kB / 0.8399 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2036, allocations: 8.5 kB / 0.8399 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.2041, allocations: 194.3 kB / 0.8401 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2044, allocations: 0.6845 MB / 0.8407 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.2044, allocations: 7.984 kB / 0.8408 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2045, allocations: 11.44 kB / 0.8408 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.2045, allocations: 0 / 0.8408 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.2265, allocations: 2.396 MB / 0.8431 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.91, allocations: 15.55 kB / 0.8431 GB, free: 14.68 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.275841959984973] Failed to read output from testmodel.py, exit status != 0: 11.070620859973133 11.086826803 10.884724133 Calling exit ...