Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001918/0.001918, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002465/0.002465, allocations: 224.3 kB / 23.03 MB, free: 4.945 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.808/1.808, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8016/0.8016, allocations: 134 MB / 447.2 MB, free: 9.957 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001896/0.001896, allocations: 62 kB / 0.6193 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1531, allocations: 85.9 MB / 0.7032 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002488/0.1556, allocations: 1.439 MB / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.1597, allocations: 2.662 MB / 0.7072 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.1598, allocations: 0 / 0.7072 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.1598, allocations: 0 / 0.7072 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.1599, allocations: 15.8 kB / 0.7072 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.1636, allocations: 1.637 MB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.1637, allocations: 43.73 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1638, allocations: 0 / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.1638, allocations: 27.86 kB / 0.7089 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.1638, allocations: 15.88 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.1638, allocations: 4 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.1661, allocations: 1.588 MB / 0.7105 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1661, allocations: 3.938 kB / 0.7105 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.1661, allocations: 15.92 kB / 0.7105 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1675, allocations: 1.087 MB / 0.7115 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1675, allocations: 0 / 0.7115 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1675, allocations: 0 / 0.7115 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1675, allocations: 0 / 0.7115 GB, free: 8.512 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.0005858/0.1681, allocations: 480 kB / 0.712 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1682, allocations: 8.031 kB / 0.712 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.759e-05/0.1682, allocations: 87.47 kB / 0.7121 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.1683, allocations: 106 kB / 0.7122 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.1683, allocations: 76.22 kB / 0.7123 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1685, allocations: 199.5 kB / 0.7125 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.1685, allocations: 150.6 kB / 0.7126 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.1686, allocations: 150.6 kB / 0.7127 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.679e-05/0.1687, allocations: 105 kB / 0.7128 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.1687, allocations: 75.28 kB / 0.7129 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.1688, allocations: 158.5 kB / 0.7131 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.1688, allocations: 154.6 kB / 0.7132 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.1689, allocations: 154.5 kB / 0.7134 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1692, allocations: 440.9 kB / 0.7138 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.1693, allocations: 165.1 kB / 0.7139 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.1693, allocations: 80.14 kB / 0.714 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1693, allocations: 83.22 kB / 0.7141 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.1694, allocations: 105.8 kB / 0.7142 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 2.515e-06/0.1694, allocations: 3.984 kB / 0.7142 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.1694, allocations: 33.73 kB / 0.7142 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.1695, allocations: 134.7 kB / 0.7144 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1697, allocations: 133.8 kB / 0.7145 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1697, allocations: 25.7 kB / 0.7145 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1697, allocations: 96.12 kB / 0.7146 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.1697, allocations: 0 / 0.7146 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1698, allocations: 21.7 kB / 0.7146 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1699, allocations: 318.8 kB / 0.7149 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.1699, allocations: 4 kB / 0.7149 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1699, allocations: 11.94 kB / 0.7149 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.17, allocations: 16.84 kB / 0.715 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.17, allocations: 0 / 0.715 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001222/0.1701, allocations: 57.62 kB / 0.715 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1701, allocations: 6.5 kB / 0.715 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.1701, allocations: 7.938 kB / 0.715 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1701, allocations: 0 / 0.715 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1701, allocations: 0 / 0.715 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1701, allocations: 0 / 0.715 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.1702, allocations: 7.984 kB / 0.715 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1702, allocations: 64 / 0.715 GB, free: 4.727 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.0001002/0.1703, allocations: 189.1 kB / 0.7152 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.1703, allocations: 112.9 kB / 0.7153 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.028e-05/0.1704, allocations: 112.8 kB / 0.7154 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.282e-05/0.1705, allocations: 188.2 kB / 0.7156 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.758e-05/0.1705, allocations: 180.3 kB / 0.7158 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.739e-05/0.1706, allocations: 176.3 kB / 0.716 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1708, allocations: 392.2 kB / 0.7163 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/0.1709, allocations: 101 kB / 0.7164 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.1709, allocations: 108.9 kB / 0.7165 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.938e-05/0.171, allocations: 180.3 kB / 0.7167 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.1711, allocations: 176.3 kB / 0.7169 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.131e-05/0.1711, allocations: 184.2 kB / 0.717 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.93e-05/0.1712, allocations: 176.3 kB / 0.7172 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1714, allocations: 319.6 kB / 0.7175 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.1714, allocations: 112.9 kB / 0.7176 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.1715, allocations: 180.3 kB / 0.7178 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.1716, allocations: 105 kB / 0.7179 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.1717, allocations: 184.2 kB / 0.7181 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1717, allocations: 105 kB / 0.7182 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.1718, allocations: 95.27 kB / 0.7183 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1718, allocations: 0 / 0.7183 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007132/0.1725, allocations: 299 kB / 0.7186 GB, free: 0.9297 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.001395/0.1739, allocations: 1.19 MB / 0.7197 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.883e-05/0.174, allocations: 41.7 kB / 0.7198 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.174, allocations: 0 / 0.7198 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.174, allocations: 0 / 0.7198 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.1744, allocations: 464.5 kB / 0.7202 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1758, allocations: 1.619 MB / 0.7218 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.026e-05/0.1758, allocations: 75.19 kB / 0.7218 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.1759, allocations: 3.938 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.1759, allocations: 11.44 kB / 0.7219 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.1759, allocations: 0 / 0.7219 GB, free: 13.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.2172, allocations: 7.438 MB / 0.7291 GB, free: 6.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.67, allocations: 11.94 kB / 0.7291 GB, free: 6.152 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.74490541999694] Failed to read output from testmodel.py, exit status != 0: 11.834824861958623 11.860236975 11.687725119 Calling exit ...