Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.00139/0.00139, allocations: 105.7 kB / 17.54 MB, free: 4.648 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.001372/0.001372, allocations: 193.9 kB / 20.71 MB, free: 1.488 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.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.32 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.9742/0.9742, allocations: 175.7 MB / 480.1 MB, free: 3.188 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 68.92 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1499, allocations: 94.54 MB / 0.7601 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003957/0.1539, allocations: 3.062 MB / 0.7631 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.1564, allocations: 2.148 MB / 0.7652 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1565, allocations: 8 kB / 0.7652 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.1578, allocations: 0.5094 MB / 0.7657 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.158, allocations: 142.8 kB / 0.7659 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.1581, allocations: 59.94 kB / 0.7659 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.1586, allocations: 445.9 kB / 0.7663 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1588, allocations: 111.2 kB / 0.7664 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.159, allocations: 155.3 kB / 0.7666 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1592, allocations: 183.2 kB / 0.7668 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1592, allocations: 39.94 kB / 0.7668 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.1593, allocations: 36 kB / 0.7668 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1594, allocations: 91.67 kB / 0.7669 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1596, allocations: 222.9 kB / 0.7671 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.1601, allocations: 0.5408 MB / 0.7677 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1601, allocations: 0 / 0.7677 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1601, allocations: 4 kB / 0.7677 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1601, allocations: 0 / 0.7677 GB, free: 9.047 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009598/0.1611, allocations: 0.7082 MB / 0.7684 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1611, allocations: 12.02 kB / 0.7684 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.1612, allocations: 54.73 kB / 0.7684 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.1613, allocations: 56.61 kB / 0.7685 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.1617, allocations: 374.4 kB / 0.7688 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1617, allocations: 20.56 kB / 0.7689 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1618, allocations: 16 kB / 0.7689 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.1622, allocations: 203.3 kB / 0.7691 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1622, allocations: 0 / 0.7691 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1622, allocations: 12 kB / 0.7691 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1622, allocations: 11.94 kB / 0.7691 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1626, allocations: 161.7 kB / 0.7692 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1637, allocations: 0.8663 MB / 0.7701 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1639, allocations: 142.6 kB / 0.7702 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.1641, allocations: 100.8 kB / 0.7703 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.1642, allocations: 3.938 kB / 0.7703 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1642, allocations: 46.44 kB / 0.7704 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 9.92e-07/0.1642, allocations: 0 / 0.7704 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0005597/0.1648, allocations: 253.6 kB / 0.7706 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1648, allocations: 51.41 kB / 0.7707 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.1652, allocations: 417.7 kB / 0.7711 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1652, allocations: 29.7 kB / 0.7711 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1654, allocations: 204.4 kB / 0.7713 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.1654, allocations: 71.41 kB / 0.7713 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.1655, allocations: 29.72 kB / 0.7714 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1656, allocations: 350.8 kB / 0.7717 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1658, allocations: 55.97 kB / 0.7718 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1659, allocations: 61.58 kB / 0.7718 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1662, allocations: 139 kB / 0.772 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1662, allocations: 0 / 0.772 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003817/0.1666, allocations: 217.3 kB / 0.7722 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1666, allocations: 5.562 kB / 0.7722 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1666, allocations: 0 / 0.7722 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1666, allocations: 3.984 kB / 0.7722 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1668, allocations: 59.89 kB / 0.7722 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1669, allocations: 0 / 0.7722 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.167, allocations: 15.89 kB / 0.7722 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.167, allocations: 4 kB / 0.7722 GB, free: 4.098 MB / 0.5762 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 (20): * Single equations (assignments): 20 * 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.0001426/0.1671, allocations: 165.8 kB / 0.7724 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.1672, allocations: 43.7 kB / 0.7724 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.1673, allocations: 39.59 kB / 0.7725 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1673, allocations: 0 / 0.7725 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1673, allocations: 3.984 kB / 0.7725 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1673, allocations: 0 / 0.7725 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.1677, allocations: 377.2 kB / 0.7728 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1677, allocations: 3.938 kB / 0.7729 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.1679, allocations: 59.97 kB / 0.7729 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1679, allocations: 3.984 kB / 0.7729 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1679, allocations: 0 / 0.7729 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1679, allocations: 4 kB / 0.7729 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1679, allocations: 0 / 0.7729 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.1685, allocations: 375.1 kB / 0.7733 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1686, allocations: 136.7 kB / 0.7734 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1686, allocations: 4 kB / 0.7734 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1688, allocations: 11.98 kB / 0.7734 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1688, allocations: 7.984 kB / 0.7734 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1688, allocations: 8 kB / 0.7734 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003059/0.1692, allocations: 299.1 kB / 0.7737 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.7737 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002807/0.1694, allocations: 71.89 kB / 0.7738 GB, free: 2.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0008641/0.1703, allocations: 0.9286 MB / 0.7747 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.1706, allocations: 134 kB / 0.7748 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1706, allocations: 4 kB / 0.7748 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1708, allocations: 81.61 kB / 0.7749 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.1713, allocations: 100.8 kB / 0.775 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.1755, allocations: 3.479 MB / 0.7784 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1758, allocations: 0.7951 MB / 0.7792 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.1759, allocations: 30.97 kB / 0.7792 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.1761, allocations: 123.4 kB / 0.7793 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.1761, allocations: 0 / 0.7793 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.2084, allocations: 7.941 MB / 0.7871 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.902, allocations: 6.172 kB / 0.7871 GB, free: 4.879 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.286429080995731]