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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 106.9 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] 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.7853/0.7853, allocations: 134 MB / 436.6 MB, free: 1.309 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 68.92 kB / 0.6052 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1489, allocations: 84.67 MB / 0.6879 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002402/0.1513, allocations: 1.367 MB / 0.6892 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.153, allocations: 1.083 MB / 0.6903 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.153, allocations: 0 / 0.6903 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1531, allocations: 3.938 kB / 0.6903 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.1531, allocations: 7.922 kB / 0.6903 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.1537, allocations: 207.3 kB / 0.6905 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.1538, allocations: 27.86 kB / 0.6905 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1538, allocations: 8.281 kB / 0.6905 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.1539, allocations: 15.91 kB / 0.6905 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.1539, allocations: 19.92 kB / 0.6905 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1539, allocations: 0 / 0.6905 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.1545, allocations: 419.4 kB / 0.6909 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1545, allocations: 7.984 kB / 0.6909 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.1546, allocations: 15.88 kB / 0.691 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1549, allocations: 191.4 kB / 0.6911 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1549, allocations: 0 / 0.6911 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1549, allocations: 0 / 0.6911 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1549, allocations: 4 kB / 0.6912 GB, free: 7.738 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.0004863/0.1554, allocations: 386.8 kB / 0.6915 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1554, allocations: 12.03 kB / 0.6915 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.1554, allocations: 38.73 kB / 0.6916 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.1555, allocations: 4.891 kB / 0.6916 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1556, allocations: 164.4 kB / 0.6917 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1556, allocations: 8.125 kB / 0.6917 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.1556, allocations: 0 / 0.6917 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1557, allocations: 49.67 kB / 0.6918 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1557, allocations: 7.875 kB / 0.6918 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1558, allocations: 0 / 0.6918 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1558, allocations: 0 / 0.6918 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.1558, allocations: 8 kB / 0.6918 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.156, allocations: 169.6 kB / 0.692 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/0.1561, allocations: 42.55 kB / 0.692 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.1561, allocations: 16.89 kB / 0.692 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.1571, allocations: 0.9817 MB / 0.693 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1572, allocations: 34.56 kB / 0.693 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1572, allocations: 3.938 kB / 0.693 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.1573, allocations: 61.62 kB / 0.6931 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1574, allocations: 51.41 kB / 0.6931 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.1575, allocations: 109.8 kB / 0.6932 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1575, allocations: 25.7 kB / 0.6933 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.1575, allocations: 84.14 kB / 0.6933 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1576, allocations: 7.906 kB / 0.6933 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1576, allocations: 25.7 kB / 0.6934 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1577, allocations: 314.8 kB / 0.6937 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.1577, allocations: 4 kB / 0.6937 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.1578, allocations: 8 kB / 0.6937 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.1578, allocations: 24.78 kB / 0.6937 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.1578, allocations: 3.938 kB / 0.6937 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.081e-05/0.1579, allocations: 45.7 kB / 0.6937 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1579, allocations: 11.98 kB / 0.6938 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1579, allocations: 0 / 0.6938 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1579, allocations: 0 / 0.6938 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.158, allocations: 16 kB / 0.6938 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.158, allocations: 0 / 0.6938 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.1581, allocations: 3.953 kB / 0.6938 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1581, allocations: 0 / 0.6938 GB, free: 4.594 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.864e-05/0.1581, allocations: 121.8 kB / 0.6939 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.1582, allocations: 3.938 kB / 0.6939 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.1583, allocations: 57.92 kB / 0.694 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1583, allocations: 4.047 kB / 0.694 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1583, allocations: 7.984 kB / 0.694 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1583, allocations: 0 / 0.694 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.1584, allocations: 169.6 kB / 0.6941 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1584, allocations: 0 / 0.6941 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.1585, allocations: 12 kB / 0.6941 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1585, allocations: 0 / 0.6941 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1585, allocations: 0 / 0.6941 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1585, allocations: 0 / 0.6941 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1585, allocations: 3.938 kB / 0.6941 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1586, allocations: 88.95 kB / 0.6942 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1587, allocations: 85.09 kB / 0.6943 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1587, allocations: 4 kB / 0.6943 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.1587, allocations: 3.938 kB / 0.6943 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1587, allocations: 4 kB / 0.6943 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1588, allocations: 0 / 0.6943 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.1588, allocations: 87.27 kB / 0.6944 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 0.6944 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000226/0.159, allocations: 39.81 kB / 0.6944 GB, free: 3.801 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.0005511/0.1596, allocations: 0.6708 MB / 0.6951 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.719e-05/0.1597, allocations: 15.98 kB / 0.6951 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1597, allocations: 0 / 0.6951 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.1597, allocations: 12 kB / 0.6951 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1599, allocations: 14.45 kB / 0.6951 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.1604, allocations: 201.6 kB / 0.6953 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1607, allocations: 0.6807 MB / 0.696 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.1607, allocations: 4.75 kB / 0.696 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1607, allocations: 11.44 kB / 0.696 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1607, allocations: 4 kB / 0.696 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1857, allocations: 2.186 MB / 0.6981 GB, free: 136 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.044, allocations: 11.86 kB / 0.6982 GB, free: 128 kB / 0.5137 GB " [Timeout remaining time 652] (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.247270816005766] Failed to read output from testmodel.py, exit status != 0: 8.107564595993608 8.122100481 7.964423491 Calling exit ...