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.001538/0.001538, 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.001545/0.001545, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.7973/0.7973, allocations: 134 MB / 447.2 MB, free: 10.22 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="cs",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="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.001865/0.001865, allocations: 65.31 kB / 0.6194 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 85.91 MB / 0.7033 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002513/0.1627, allocations: 1.445 MB / 0.7047 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004333/0.167, allocations: 2.942 MB / 0.7076 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.167, allocations: 0 / 0.7076 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.1671, allocations: 3.938 kB / 0.7076 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.1671, allocations: 15.84 kB / 0.7076 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.171, allocations: 1.678 MB / 0.7092 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.1711, allocations: 47.66 kB / 0.7093 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.1711, allocations: 8 kB / 0.7093 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.1711, allocations: 15.92 kB / 0.7093 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.1712, allocations: 11.94 kB / 0.7093 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1712, allocations: 4 kB / 0.7093 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.1736, allocations: 1.709 MB / 0.711 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1736, allocations: 3.938 kB / 0.711 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.1736, allocations: 15.92 kB / 0.711 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1751, allocations: 1.111 MB / 0.7121 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1751, allocations: 0 / 0.7121 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1751, allocations: 4 kB / 0.7121 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1751, 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.000595/0.1757, allocations: 468 kB / 0.7125 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1757, allocations: 8.031 kB / 0.7125 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.731e-05/0.1758, allocations: 79.47 kB / 0.7126 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.1758, allocations: 106 kB / 0.7127 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.1759, allocations: 80.17 kB / 0.7128 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.176, allocations: 213.4 kB / 0.713 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.1761, allocations: 150.6 kB / 0.7131 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.1761, allocations: 150.6 kB / 0.7133 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.1762, allocations: 101 kB / 0.7134 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.1762, allocations: 75.28 kB / 0.7135 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.1763, allocations: 154.5 kB / 0.7136 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.785e-05/0.1764, allocations: 154.6 kB / 0.7137 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.1764, allocations: 154.6 kB / 0.7139 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.1767, allocations: 436.9 kB / 0.7143 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.1768, allocations: 169.1 kB / 0.7145 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.1769, allocations: 88.08 kB / 0.7146 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.1769, allocations: 79.22 kB / 0.7146 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.1769, allocations: 105.8 kB / 0.7147 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.1769, allocations: 0 / 0.7147 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.231e-05/0.177, allocations: 41.62 kB / 0.7148 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.1771, allocations: 126.7 kB / 0.7149 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1772, allocations: 135.9 kB / 0.715 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1772, allocations: 25.7 kB / 0.7151 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1773, allocations: 88.14 kB / 0.7151 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.1773, allocations: 0 / 0.7151 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1773, allocations: 17.72 kB / 0.7152 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1775, allocations: 326.8 kB / 0.7155 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.1775, allocations: 7.938 kB / 0.7155 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.1775, allocations: 11.94 kB / 0.7155 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.1775, allocations: 12.89 kB / 0.7155 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1775, allocations: 0 / 0.7155 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.1777, allocations: 53.64 kB / 0.7155 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1777, allocations: 4 kB / 0.7155 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.1777, allocations: 4 kB / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1777, allocations: 0 / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1777, allocations: 0 / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1777, allocations: 0 / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1777, allocations: 0 / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.1777, allocations: 4 kB / 0.7156 GB, free: 4.559 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.0001048/0.1778, allocations: 193.1 kB / 0.7157 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.1779, allocations: 116.9 kB / 0.7159 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.178, allocations: 104.8 kB / 0.716 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.927e-05/0.178, allocations: 184.2 kB / 0.7161 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-05/0.1781, allocations: 180.2 kB / 0.7163 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.845e-05/0.1782, allocations: 180.3 kB / 0.7165 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1784, allocations: 392.2 kB / 0.7168 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.1785, allocations: 101 kB / 0.7169 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.1785, allocations: 104.9 kB / 0.717 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-05/0.1786, allocations: 184.2 kB / 0.7172 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.1786, allocations: 176.3 kB / 0.7174 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-05/0.1787, allocations: 188.2 kB / 0.7176 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.857e-05/0.1788, allocations: 176.3 kB / 0.7177 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.1789, allocations: 315.6 kB / 0.718 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.179, allocations: 112.9 kB / 0.7181 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.1791, allocations: 184.3 kB / 0.7183 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.1791, allocations: 101 kB / 0.7184 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1792, allocations: 180.2 kB / 0.7186 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.1793, allocations: 108.9 kB / 0.7187 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.1793, allocations: 101.8 kB / 0.7188 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 0.7188 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007047/0.18, allocations: 291 kB / 0.7191 GB, free: 0.7656 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.1814, allocations: 1.175 MB / 0.7202 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.1815, allocations: 37.69 kB / 0.7202 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1815, allocations: 4.062 kB / 0.7203 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.1815, allocations: 0 / 0.7203 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.000415/0.1819, allocations: 463.7 kB / 0.7207 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1833, 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.0002765/0.1836, allocations: 0.6885 MB / 0.7229 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.311e-05/0.1836, allocations: 0 / 0.7229 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.1836, allocations: 11.44 kB / 0.7229 GB, free: 12.66 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1836, allocations: 0 / 0.7229 GB, free: 12.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.2133, allocations: 7.151 MB / 0.7299 GB, free: 5.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 8.75 kB / 0.7299 GB, free: 5.691 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.611339214956388] Failed to read output from testmodel.py, exit status != 0: 11.313600086956285 11.337559286 11.158239023 Calling exit ...