Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001383/0.001383, allocations: 110.1 kB / 16.4 MB, free: 6.5 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.001379/0.001379, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.365/1.365, allocations: 222.9 MB / 245 MB, free: 15.03 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.8581/0.8581, allocations: 132.2 MB / 429.4 MB, free: 6.117 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 72.22 kB / 0.5894 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 80.22 MB / 0.6677 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005482/0.1597, allocations: 4.135 MB / 0.6718 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1633, allocations: 2.421 MB / 0.6742 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.1635, allocations: 12 kB / 0.6742 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.165, allocations: 0.5324 MB / 0.6747 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.1655, allocations: 249.9 kB / 0.6749 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1657, allocations: 139.8 kB / 0.6751 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008303/0.1665, allocations: 0.8094 MB / 0.6758 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.167, allocations: 326.5 kB / 0.6762 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.1674, allocations: 294.9 kB / 0.6764 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.1678, allocations: 330.6 kB / 0.6768 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.1679, allocations: 76 kB / 0.6768 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.168, allocations: 72 kB / 0.6769 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.1682, allocations: 171.4 kB / 0.6771 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.1686, allocations: 386.3 kB / 0.6774 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009945/0.1696, allocations: 0.9962 MB / 0.6784 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1696, allocations: 4 kB / 0.6784 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1696, allocations: 0 / 0.6784 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1696, allocations: 0 / 0.6784 GB, free: 14.88 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001467/0.1711, allocations: 0.9652 MB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1711, allocations: 8.031 kB / 0.6794 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.1712, allocations: 90.7 kB / 0.6794 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1713, allocations: 76.47 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.172, allocations: 470 kB / 0.68 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.172, allocations: 41.12 kB / 0.68 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1721, allocations: 48 kB / 0.68 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.1729, allocations: 426.5 kB / 0.6805 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1729, allocations: 0 / 0.6805 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.173, allocations: 20 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.173, allocations: 19.88 kB / 0.6805 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007022/0.1737, allocations: 367.8 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1759, allocations: 1.524 MB / 0.6823 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.1764, allocations: 338.7 kB / 0.6827 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.177, allocations: 333.5 kB / 0.683 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.177, allocations: 7.938 kB / 0.683 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1771, allocations: 30.56 kB / 0.683 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.994e-06/0.1771, allocations: 3.938 kB / 0.683 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.001026/0.1781, allocations: 498.5 kB / 0.6835 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1782, allocations: 63.41 kB / 0.6835 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/0.1788, allocations: 485.9 kB / 0.684 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1788, allocations: 29.7 kB / 0.684 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.179, allocations: 280.7 kB / 0.6843 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.1792, allocations: 150.7 kB / 0.6844 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1793, allocations: 66.06 kB / 0.6845 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1795, allocations: 358.8 kB / 0.6849 GB, free: 8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.1798, allocations: 128.6 kB / 0.685 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.18, allocations: 129.2 kB / 0.6851 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.1806, allocations: 290.4 kB / 0.6854 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1806, allocations: 0 / 0.6854 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006766/0.1813, allocations: 400.5 kB / 0.6858 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1813, allocations: 8 kB / 0.6858 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.1813, allocations: 8 kB / 0.6858 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1813, allocations: 0 / 0.6858 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.1818, allocations: 131.8 kB / 0.6859 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1819, allocations: 7.938 kB / 0.6859 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1821, allocations: 27.78 kB / 0.6859 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1821, allocations: 12 kB / 0.6859 GB, free: 6.875 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 (46): * Single equations (assignments): 46 * 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 0.0002304/0.1823, allocations: 205.7 kB / 0.6861 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.1824, allocations: 51.67 kB / 0.6862 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1825, allocations: 61.08 kB / 0.6862 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1825, allocations: 4 kB / 0.6863 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1826, allocations: 0 / 0.6863 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1826, allocations: 4 kB / 0.6863 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.1833, allocations: 0.5712 MB / 0.6868 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1833, allocations: 4 kB / 0.6868 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.1838, allocations: 123.9 kB / 0.6869 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1838, allocations: 4 kB / 0.6869 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1839, allocations: 12 kB / 0.687 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1839, allocations: 3.984 kB / 0.687 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1839, allocations: 0 / 0.687 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1849, allocations: 0.6586 MB / 0.6876 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1851, allocations: 140.7 kB / 0.6877 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.1852, allocations: 12 kB / 0.6877 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1854, allocations: 15.98 kB / 0.6878 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.1855, allocations: 23.97 kB / 0.6878 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1855, allocations: 8 kB / 0.6878 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004094/0.1859, allocations: 359 kB / 0.6881 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1859, allocations: 0 / 0.6881 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003965/0.1863, allocations: 139.7 kB / 0.6883 GB, free: 4.406 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001391/0.1877, allocations: 1.21 MB / 0.6894 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.1883, allocations: 323.7 kB / 0.6898 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1884, allocations: 4 kB / 0.6898 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1887, allocations: 179.8 kB / 0.6899 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.1893, allocations: 125.8 kB / 0.6901 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.196, allocations: 4.87 MB / 0.6948 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1965, allocations: 0.8704 MB / 0.6957 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.1967, allocations: 48.41 kB / 0.6957 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.197, allocations: 195.4 kB / 0.6959 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.197, allocations: 0 / 0.6959 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.2352, allocations: 11.43 MB / 0.7071 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.711, allocations: 9.359 kB / 0.7071 GB, free: 1.34 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.166654131142423] Failed to read output from testmodel.py, exit status != 0: 8.785002589924261 8.801588125 8.629432146 Calling exit ...