Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001171/0.001171, allocations: 109 kB / 17.54 MB, free: 4.746 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.001398/0.001398, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9642/0.9642, allocations: 175.7 MB / 480.1 MB, free: 3.133 MB / 366.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-master/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_dev_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_dev_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.001713/0.001713, allocations: 65.16 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 94.53 MB / 0.7601 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005038/0.1575, allocations: 4.192 MB / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.1606, allocations: 2.425 MB / 0.7666 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1608, allocations: 8 kB / 0.7666 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1622, allocations: 0.5598 MB / 0.7671 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.1626, allocations: 242 kB / 0.7674 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1628, allocations: 135.9 kB / 0.7675 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007623/0.1635, allocations: 0.8092 MB / 0.7683 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.1639, allocations: 234.5 kB / 0.7685 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.1642, allocations: 298.9 kB / 0.7688 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.1646, allocations: 334.6 kB / 0.7691 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.15e-05/0.1647, allocations: 72 kB / 0.7692 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1648, allocations: 76 kB / 0.7692 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.165, allocations: 171.4 kB / 0.7694 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.1653, allocations: 386.2 kB / 0.7698 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008902/0.1662, allocations: 0.9924 MB / 0.7707 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1662, allocations: 0 / 0.7707 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.066e-06/0.1662, allocations: 4 kB / 0.7708 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1662, allocations: 0 / 0.7708 GB, free: 5.809 MB / 0.5762 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.001356/0.1675, allocations: 0.9652 MB / 0.7717 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1676, allocations: 8.031 kB / 0.7717 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.106e-05/0.1677, allocations: 90.7 kB / 0.7718 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1678, allocations: 76.47 kB / 0.7719 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.1684, allocations: 462 kB / 0.7723 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.1684, allocations: 41.12 kB / 0.7723 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.1685, allocations: 48 kB / 0.7724 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.1692, allocations: 426.5 kB / 0.7728 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1692, allocations: 0 / 0.7728 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.1692, allocations: 16 kB / 0.7728 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1692, allocations: 12 kB / 0.7728 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.1699, allocations: 375.8 kB / 0.7732 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1719, allocations: 1.528 MB / 0.7747 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.1724, allocations: 311 kB / 0.775 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.1728, allocations: 286.7 kB / 0.7752 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1728, allocations: 12.56 kB / 0.7753 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1729, allocations: 34.56 kB / 0.7753 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 1.272e-06/0.1729, allocations: 0 / 0.7753 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.0009195/0.1738, allocations: 0.4901 MB / 0.7758 GB, free: 476 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1738, allocations: 59.19 kB / 0.7758 GB, free: 404 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.1744, allocations: 485.9 kB / 0.7763 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1744, allocations: 33.64 kB / 0.7763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1746, allocations: 280.7 kB / 0.7766 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.1747, allocations: 154.6 kB / 0.7767 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.1748, allocations: 62.08 kB / 0.7768 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.175, allocations: 362.8 kB / 0.7771 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1752, allocations: 124.6 kB / 0.7773 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1754, allocations: 129.4 kB / 0.7774 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.1759, allocations: 298.1 kB / 0.7777 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1759, allocations: 0 / 0.7777 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006245/0.1766, allocations: 392.5 kB / 0.778 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1766, allocations: 8 kB / 0.778 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1766, allocations: 0 / 0.778 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1766, allocations: 4 kB / 0.778 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.1771, allocations: 123.9 kB / 0.7782 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1771, allocations: 0 / 0.7782 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1773, allocations: 43.66 kB / 0.7782 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1773, allocations: 12 kB / 0.7782 GB, free: 13.89 MB / 0.5919 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.0002131/0.1775, allocations: 201.7 kB / 0.7784 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.1776, allocations: 51.67 kB / 0.7785 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.1777, allocations: 61.11 kB / 0.7785 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1777, allocations: 4 kB / 0.7785 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.1777, allocations: 7.984 kB / 0.7785 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1777, allocations: 0 / 0.7785 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.1783, allocations: 0.5752 MB / 0.7791 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1783, allocations: 0 / 0.7791 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.1788, allocations: 127.9 kB / 0.7792 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1788, allocations: 3.938 kB / 0.7792 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1789, allocations: 12 kB / 0.7792 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1789, allocations: 0 / 0.7792 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1789, allocations: 0 / 0.7792 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.1798, allocations: 0.6549 MB / 0.7799 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1799, allocations: 144.6 kB / 0.78 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.18, allocations: 8 kB / 0.78 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1802, allocations: 15.98 kB / 0.78 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1803, allocations: 19.97 kB / 0.7801 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1803, allocations: 12 kB / 0.7801 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003818/0.1807, allocations: 355 kB / 0.7804 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1807, allocations: 0 / 0.7804 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003639/0.181, allocations: 139.8 kB / 0.7805 GB, free: 11.43 MB / 0.5919 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.001268/0.1823, allocations: 1.212 MB / 0.7817 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.1828, allocations: 299.5 kB / 0.782 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1828, allocations: 4 kB / 0.782 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1831, allocations: 167.6 kB / 0.7822 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1837, allocations: 127.4 kB / 0.7823 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.1898, allocations: 4.861 MB / 0.787 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.1903, allocations: 0.8704 MB / 0.7879 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.1904, allocations: 56.36 kB / 0.7879 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.1907, allocations: 187.4 kB / 0.7881 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.1907, allocations: 0 / 0.7881 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.2284, allocations: 11.44 MB / 0.7993 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.189, allocations: 7.938 kB / 0.7993 GB, free: 8.297 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.56912149800337]