Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001512/0.001512, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001591/0.001591, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.388/1.388, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.806/0.806, allocations: 133.9 MB / 443.5 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001928/0.001928, allocations: 70.58 kB / 0.6142 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1382, allocations: 85.85 MB / 0.698 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002372/0.1405, allocations: 1.36 MB / 0.6993 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1423, allocations: 1.149 MB / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1423, allocations: 0 / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.1423, allocations: 0 / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.1424, allocations: 8.938 kB / 0.7005 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.143, allocations: 229.2 kB / 0.7007 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.1431, allocations: 33.73 kB / 0.7007 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1431, allocations: 2.344 kB / 0.7007 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1432, allocations: 12.47 kB / 0.7007 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.1433, allocations: 13.61 kB / 0.7008 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1433, allocations: 5.344 kB / 0.7008 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.1439, allocations: 437.8 kB / 0.7012 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1439, allocations: 5.359 kB / 0.7012 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.1439, allocations: 12.05 kB / 0.7012 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.1442, allocations: 200.1 kB / 0.7014 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1442, allocations: 0 / 0.7014 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1442, allocations: 0 / 0.7014 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1443, allocations: 0 / 0.7014 GB, free: 11.12 MB / 0.5137 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.0004931/0.1447, allocations: 403.4 kB / 0.7018 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1448, allocations: 11.3 kB / 0.7018 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.1448, allocations: 4.188 kB / 0.7018 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.1448, allocations: 40.12 kB / 0.7018 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1449, allocations: 2.312 kB / 0.7018 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.145, allocations: 167.1 kB / 0.702 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.145, allocations: 5.312 kB / 0.702 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.145, allocations: 1.375 kB / 0.702 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1451, allocations: 47.11 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1451, allocations: 0 / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1451, allocations: 5.312 kB / 0.702 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1451, allocations: 4 kB / 0.702 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.1452, allocations: 12.23 kB / 0.7021 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1454, allocations: 164.5 kB / 0.7022 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.08e-05/0.1455, allocations: 37.69 kB / 0.7022 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1455, allocations: 14.36 kB / 0.7023 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000958/0.1464, allocations: 0.9861 MB / 0.7032 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1465, allocations: 36.09 kB / 0.7033 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1465, allocations: 0 / 0.7033 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001688/0.1466, allocations: 55.92 kB / 0.7033 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1467, allocations: 56.88 kB / 0.7034 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.1468, allocations: 105.5 kB / 0.7035 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1468, allocations: 27.02 kB / 0.7035 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1468, allocations: 85.52 kB / 0.7036 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1469, allocations: 13 kB / 0.7036 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1469, allocations: 17.53 kB / 0.7036 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.147, allocations: 311.9 kB / 0.7039 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.1471, allocations: 16.3 kB / 0.7039 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.1471, allocations: 3.844 kB / 0.7039 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.1471, allocations: 27.98 kB / 0.7039 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1471, allocations: 0 / 0.7039 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.57e-05/0.1472, allocations: 56.48 kB / 0.704 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1472, allocations: 5.25 kB / 0.704 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1472, allocations: 1.688 kB / 0.704 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1472, allocations: 0 / 0.704 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1473, allocations: 15.64 kB / 0.704 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1473, allocations: 0 / 0.704 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.1474, allocations: 9.062 kB / 0.704 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1474, allocations: 1.031 kB / 0.704 GB, free: 8.184 MB / 0.5137 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.762e-05/0.1475, allocations: 116.8 kB / 0.7041 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.1475, allocations: 5.297 kB / 0.7041 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1476, allocations: 58.73 kB / 0.7042 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1476, allocations: 3.984 kB / 0.7042 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1476, allocations: 1.312 kB / 0.7042 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1476, allocations: 4.031 kB / 0.7042 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1477, allocations: 161.1 kB / 0.7044 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1477, allocations: 4 kB / 0.7044 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.1478, allocations: 17.23 kB / 0.7044 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1478, allocations: 0 / 0.7044 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1478, allocations: 4 kB / 0.7044 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1478, allocations: 4 kB / 0.7044 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1478, allocations: 4 kB / 0.7044 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.1479, allocations: 80.94 kB / 0.7045 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.148, allocations: 81.06 kB / 0.7046 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.148, allocations: 4 kB / 0.7046 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.148, allocations: 4 kB / 0.7046 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.148, allocations: 4 kB / 0.7046 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.148, allocations: 0 / 0.7046 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.1481, allocations: 83.27 kB / 0.7046 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 4 kB / 0.7046 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000231/0.1483, allocations: 47.8 kB / 0.7047 GB, free: 7.422 MB / 0.5137 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.0005388/0.1488, allocations: 0.6669 MB / 0.7053 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.1489, allocations: 27.92 kB / 0.7054 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1489, allocations: 0 / 0.7054 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.149, allocations: 8 kB / 0.7054 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1492, allocations: 6.125 kB / 0.7054 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1496, allocations: 209.7 kB / 0.7056 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1499, allocations: 0.6844 MB / 0.7063 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.15, allocations: 4 kB / 0.7063 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.15, allocations: 11.44 kB / 0.7063 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.15, allocations: 4 kB / 0.7063 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.1692, allocations: 2.342 MB / 0.7086 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.188, allocations: 11.27 kB / 0.7086 GB, free: 3.613 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.680073105031624] Failed to read output from testmodel.py, exit status != 0: 8.5489432499744 8.331563802 8.183307086 Calling exit ...