Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001523/0.001523, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00167/0.00167, allocations: 215.7 kB / 22.25 MB, free: 5.262 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.333/1.333, allocations: 230.6 MB / 256 MB, free: 7.793 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.7804/0.7804, allocations: 134 MB / 446.4 MB, free: 9.941 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",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.001949/0.001949, allocations: 62.28 kB / 0.6186 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1488, allocations: 85.91 MB / 0.7025 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002658/0.1515, allocations: 1.427 MB / 0.7038 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.156, allocations: 2.616 MB / 0.7064 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.1561, allocations: 4 kB / 0.7064 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.1561, allocations: 3.938 kB / 0.7064 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.1562, allocations: 11.86 kB / 0.7064 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.1601, allocations: 1.618 MB / 0.708 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.1602, allocations: 39.73 kB / 0.708 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.1603, allocations: 8 kB / 0.708 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.1603, allocations: 15.94 kB / 0.7081 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.1603, allocations: 15.86 kB / 0.7081 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1603, allocations: 4 kB / 0.7081 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.1624, allocations: 1.436 MB / 0.7095 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1624, allocations: 4 kB / 0.7095 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.1625, allocations: 23.86 kB / 0.7095 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.1638, allocations: 1.06 MB / 0.7105 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1638, allocations: 0 / 0.7105 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.083e-06/0.1638, allocations: 4 kB / 0.7105 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1638, allocations: 0 / 0.7105 GB, free: 8.762 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005583/0.1644, allocations: 464.1 kB / 0.711 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1644, allocations: 12.03 kB / 0.711 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.1645, allocations: 106 kB / 0.7111 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.1645, allocations: 80.17 kB / 0.7112 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1647, allocations: 193.7 kB / 0.7114 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.1647, allocations: 158.5 kB / 0.7115 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.1648, allocations: 150.6 kB / 0.7117 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/0.1649, allocations: 108.9 kB / 0.7118 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.1649, allocations: 83.28 kB / 0.7118 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.165, allocations: 162.4 kB / 0.712 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.165, allocations: 150.6 kB / 0.7121 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.1651, allocations: 150.6 kB / 0.7123 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1654, allocations: 437 kB / 0.7127 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.1655, allocations: 169.1 kB / 0.7129 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.1655, allocations: 80.14 kB / 0.7129 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.1655, allocations: 79.27 kB / 0.713 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.1656, allocations: 109.8 kB / 0.7131 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1656, allocations: 0 / 0.7131 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.302e-05/0.1656, allocations: 33.66 kB / 0.7132 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1657, allocations: 134.7 kB / 0.7133 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1658, allocations: 125.8 kB / 0.7134 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1659, allocations: 25.7 kB / 0.7134 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1659, allocations: 92.14 kB / 0.7135 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.1659, allocations: 0 / 0.7135 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1659, allocations: 17.7 kB / 0.7135 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1661, allocations: 322.7 kB / 0.7138 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.1661, allocations: 4.047 kB / 0.7138 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.1661, allocations: 4 kB / 0.7138 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.1661, allocations: 20.84 kB / 0.7139 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1661, allocations: 4.031 kB / 0.7139 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001147/0.1663, allocations: 49.66 kB / 0.7139 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1663, allocations: 6.031 kB / 0.7139 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.1663, allocations: 4 kB / 0.7139 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1663, allocations: 3.984 kB / 0.7139 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1663, allocations: 0 / 0.7139 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1663, allocations: 0 / 0.7139 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.1663, allocations: 3.953 kB / 0.7139 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1663, allocations: 7.938 kB / 0.7139 GB, free: 5.078 MB / 0.5294 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.943e-05/0.1664, allocations: 185.1 kB / 0.7141 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1665, allocations: 109 kB / 0.7142 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1666, allocations: 112.8 kB / 0.7143 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-05/0.1666, allocations: 184.2 kB / 0.7145 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-05/0.1667, allocations: 176.3 kB / 0.7147 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.821e-05/0.1668, allocations: 180.2 kB / 0.7148 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.167, allocations: 384.2 kB / 0.7152 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.48e-05/0.167, allocations: 112.9 kB / 0.7153 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.1671, allocations: 112.9 kB / 0.7154 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-05/0.1672, allocations: 176.3 kB / 0.7156 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.1672, allocations: 184.2 kB / 0.7158 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.466e-05/0.1673, allocations: 176.3 kB / 0.7159 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.64e-05/0.1674, allocations: 180.3 kB / 0.7161 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1675, allocations: 323.6 kB / 0.7164 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1676, allocations: 112.9 kB / 0.7165 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.1676, allocations: 180.3 kB / 0.7167 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.1677, allocations: 109 kB / 0.7168 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.1678, allocations: 184.2 kB / 0.717 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.1678, allocations: 101 kB / 0.7171 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.1679, allocations: 95.27 kB / 0.7172 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1679, allocations: 0 / 0.7172 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007733/0.1687, allocations: 295 kB / 0.7174 GB, free: 1.285 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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.001275/0.1699, allocations: 1.175 MB / 0.7186 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.424e-05/0.17, allocations: 37.7 kB / 0.7186 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.17, allocations: 0 / 0.7186 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.17, allocations: 0 / 0.7186 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1705, allocations: 467.8 kB / 0.7191 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1718, allocations: 1.603 MB / 0.7206 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.1719, allocations: 63.34 kB / 0.7207 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.11e-05/0.1719, allocations: 0 / 0.7207 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.1719, allocations: 15.44 kB / 0.7207 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1719, allocations: 0 / 0.7207 GB, free: 13.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.2063, allocations: 7.581 MB / 0.7281 GB, free: 6.402 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.21, allocations: 0 / 0.7281 GB, free: 6.402 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.54759994102642] Failed to read output from testmodel.py, exit status != 0: 11.314753007143736 11.341098492 11.172476865 Calling exit ...