Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001243/0.001243, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001351/0.001351, allocations: 218.3 kB / 23.04 MB, free: 5.078 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.344/1.344, 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/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.7911/0.7911, allocations: 134 MB / 447.2 MB, free: 10.2 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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001915/0.001915, allocations: 62.62 kB / 0.6194 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 85.91 MB / 0.7033 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00247/0.1549, allocations: 1.453 MB / 0.7047 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004298/0.1592, allocations: 2.935 MB / 0.7076 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.1592, allocations: 0 / 0.7076 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.1592, allocations: 3.938 kB / 0.7076 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.1593, allocations: 15.86 kB / 0.7076 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.1632, allocations: 1.681 MB / 0.7092 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.1633, allocations: 47.67 kB / 0.7093 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1634, allocations: 0 / 0.7093 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.1634, allocations: 11.94 kB / 0.7093 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.062e-05/0.1634, allocations: 19.92 kB / 0.7093 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1634, allocations: 8 kB / 0.7093 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.1659, allocations: 1.708 MB / 0.711 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.1659, allocations: 7.922 kB / 0.711 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.166, allocations: 15.94 kB / 0.711 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1675, allocations: 1.103 MB / 0.7121 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1675, allocations: 3.984 kB / 0.7121 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1675, allocations: 0 / 0.7121 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1675, allocations: 0 / 0.7121 GB, free: 8.32 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.0006084/0.1681, allocations: 472.1 kB / 0.7125 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1682, allocations: 11.97 kB / 0.7125 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.21e-05/0.1682, allocations: 75.47 kB / 0.7126 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.1683, allocations: 110 kB / 0.7127 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.1683, allocations: 88.11 kB / 0.7128 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1685, allocations: 193.5 kB / 0.713 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.1685, allocations: 158.5 kB / 0.7131 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.1686, allocations: 154.6 kB / 0.7133 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.27e-05/0.1687, allocations: 101 kB / 0.7134 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.1687, allocations: 75.28 kB / 0.7135 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.1688, allocations: 150.6 kB / 0.7136 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.1688, allocations: 150.6 kB / 0.7137 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.242e-05/0.1689, allocations: 162.5 kB / 0.7139 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.1692, allocations: 436.9 kB / 0.7143 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1693, allocations: 173.1 kB / 0.7145 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.1693, allocations: 80.14 kB / 0.7146 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1694, allocations: 79.28 kB / 0.7146 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.1694, allocations: 105.8 kB / 0.7147 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.1694, allocations: 0 / 0.7147 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.708e-05/0.1695, allocations: 37.59 kB / 0.7148 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1695, allocations: 126.7 kB / 0.7149 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1697, allocations: 131.7 kB / 0.715 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1697, allocations: 25.7 kB / 0.715 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.1698, allocations: 96.12 kB / 0.7151 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.1698, allocations: 0 / 0.7151 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1698, allocations: 17.72 kB / 0.7151 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1699, allocations: 326.8 kB / 0.7155 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.1699, allocations: 7.938 kB / 0.7155 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.17, allocations: 4 kB / 0.7155 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.17, allocations: 16.8 kB / 0.7155 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.17, allocations: 0 / 0.7155 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.1701, allocations: 49.64 kB / 0.7155 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1701, allocations: 8.062 kB / 0.7155 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.1702, allocations: 4 kB / 0.7155 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1702, allocations: 0 / 0.7155 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1702, allocations: 0 / 0.7155 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1702, allocations: 0 / 0.7155 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.1702, allocations: 0 / 0.7155 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1702, allocations: 0 / 0.7155 GB, free: 4.562 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 0.0001038/0.1703, allocations: 193.1 kB / 0.7157 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.1704, allocations: 120.9 kB / 0.7158 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.1704, allocations: 104.8 kB / 0.7159 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-05/0.1705, allocations: 176.3 kB / 0.7161 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.401e-05/0.1706, allocations: 188.1 kB / 0.7163 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.81e-05/0.1706, allocations: 180.3 kB / 0.7165 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1709, allocations: 396.2 kB / 0.7168 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/0.1709, allocations: 101 kB / 0.7169 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.1709, allocations: 101 kB / 0.717 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.171, allocations: 188.2 kB / 0.7172 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.1711, allocations: 180.3 kB / 0.7174 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-05/0.1712, allocations: 184.2 kB / 0.7176 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.002e-05/0.1712, allocations: 180.3 kB / 0.7177 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.1714, allocations: 311.7 kB / 0.718 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1714, allocations: 113 kB / 0.7181 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.219e-05/0.1715, allocations: 180.2 kB / 0.7183 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1716, allocations: 105 kB / 0.7184 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.1717, allocations: 180.3 kB / 0.7186 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.1717, allocations: 104.9 kB / 0.7187 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.1718, allocations: 105.1 kB / 0.7188 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1718, allocations: 0 / 0.7188 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007632/0.1725, allocations: 291 kB / 0.7191 GB, free: 0.7617 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.001367/0.1739, allocations: 1.177 MB / 0.7202 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.174, allocations: 37.64 kB / 0.7202 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.174, allocations: 0 / 0.7202 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.174, allocations: 0 / 0.7202 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1744, allocations: 475.5 kB / 0.7207 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1759, allocations: 1.596 MB / 0.7223 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1761, allocations: 0.6807 MB / 0.7229 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.1762, allocations: 32 / 0.7229 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.1762, allocations: 23.42 kB / 0.7229 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.1762, allocations: 0 / 0.7229 GB, free: 12.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.2052, allocations: 7.149 MB / 0.7299 GB, free: 5.695 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.37, allocations: 4.812 kB / 0.7299 GB, free: 5.691 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.827312011038885] Failed to read output from testmodel.py, exit status != 0: 11.52660629490856 11.54405327 11.373253844 Calling exit ...