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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008189/0.008189, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 197.2 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7806/0.7806, allocations: 135.1 MB / 425.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.22 kB / 0.5852 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.163, allocations: 80.92 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00438/0.1674, allocations: 3.026 MB / 0.6672 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.1704, allocations: 2.147 MB / 0.6692 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.1707, allocations: 4 kB / 0.6693 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1722, allocations: 0.4946 MB / 0.6697 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.1726, allocations: 150.8 kB / 0.6699 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.1728, allocations: 59.94 kB / 0.6699 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.1734, allocations: 453.3 kB / 0.6704 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.1736, allocations: 151.2 kB / 0.6705 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.1739, allocations: 159.4 kB / 0.6707 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.1742, allocations: 187.1 kB / 0.6708 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.1743, allocations: 32 kB / 0.6709 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.1743, allocations: 36 kB / 0.6709 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1745, allocations: 95.67 kB / 0.671 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.1747, allocations: 215 kB / 0.6712 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.1752, allocations: 0.5526 MB / 0.6717 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1752, allocations: 0 / 0.6717 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1752, allocations: 0 / 0.6717 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.457e-05/0.1753, allocations: 0 / 0.6717 GB, free: 14.52 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001178/0.1765, allocations: 0.7006 MB / 0.6724 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1765, allocations: 9.109 kB / 0.6724 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.1766, allocations: 58.73 kB / 0.6725 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1767, allocations: 44.38 kB / 0.6725 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.1773, allocations: 382.1 kB / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1774, allocations: 16.56 kB / 0.6729 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1774, allocations: 27.98 kB / 0.6729 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.1778, allocations: 203.2 kB / 0.6731 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1779, allocations: 0 / 0.6731 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1779, allocations: 8 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1779, allocations: 4 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.1783, allocations: 169.7 kB / 0.6733 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1796, allocations: 0.8583 MB / 0.6741 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.1799, allocations: 162.5 kB / 0.6743 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1801, allocations: 116 kB / 0.6744 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1802, allocations: 3.938 kB / 0.6744 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1802, allocations: 34.56 kB / 0.6745 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.1802, allocations: 0 / 0.6745 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005997/0.1808, allocations: 259 kB / 0.6747 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1809, allocations: 51.41 kB / 0.6747 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.1813, allocations: 421.7 kB / 0.6751 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1814, allocations: 25.7 kB / 0.6752 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1815, allocations: 208.2 kB / 0.6754 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.1816, allocations: 71.02 kB / 0.6754 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1816, allocations: 33.72 kB / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1818, allocations: 346.8 kB / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1819, allocations: 55.97 kB / 0.6759 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1821, allocations: 58.38 kB / 0.6759 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.1823, allocations: 128.8 kB / 0.676 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1823, allocations: 0 / 0.676 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003899/0.1827, allocations: 223.4 kB / 0.6762 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1828, allocations: 8 kB / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1828, allocations: 0 / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1828, allocations: 0 / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.183, allocations: 51.95 kB / 0.6763 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1831, allocations: 4 kB / 0.6763 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1832, allocations: 15.84 kB / 0.6763 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1832, allocations: 4 kB / 0.6763 GB, free: 9.574 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 (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.0001583/0.1834, allocations: 169.8 kB / 0.6765 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.1835, allocations: 39.47 kB / 0.6765 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.1835, allocations: 39.59 kB / 0.6766 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1835, allocations: 4 kB / 0.6766 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1836, allocations: 3.984 kB / 0.6766 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1836, allocations: 0 / 0.6766 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.1839, allocations: 369.4 kB / 0.6769 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.184, allocations: 3.938 kB / 0.6769 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.1842, allocations: 59.91 kB / 0.677 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1842, allocations: 7.984 kB / 0.677 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1843, allocations: 4 kB / 0.677 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1843, allocations: 0 / 0.677 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1843, allocations: 0 / 0.677 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.1849, allocations: 368.8 kB / 0.6773 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.185, allocations: 128.5 kB / 0.6775 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.185, allocations: 8.062 kB / 0.6775 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1852, allocations: 7.984 kB / 0.6775 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1853, allocations: 15.98 kB / 0.6775 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1853, allocations: 11.94 kB / 0.6775 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003257/0.1856, allocations: 299.1 kB / 0.6778 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.135e-06/0.1856, allocations: 0 / 0.6778 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003254/0.1859, allocations: 79.78 kB / 0.6779 GB, free: 7.895 MB / 0.5137 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.0008543/0.1868, allocations: 0.9201 MB / 0.6788 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.1872, allocations: 145.5 kB / 0.6789 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1872, allocations: 0 / 0.6789 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1873, allocations: 87.95 kB / 0.679 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.1879, allocations: 87.12 kB / 0.6791 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.1923, allocations: 3.495 MB / 0.6825 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1926, allocations: 0.7951 MB / 0.6833 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.1927, allocations: 30.97 kB / 0.6833 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.1929, allocations: 119.4 kB / 0.6834 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of SimCode: time 4.3e-07/0.1929, allocations: 0 / 0.6834 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.2212, allocations: 8.076 MB / 0.6913 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.225, allocations: 7.344 kB / 0.6913 GB, free: 10.26 MB / 0.5294 GB (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)