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.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.001294/0.001294, allocations: 116.8 kB / 17.17 MB, free: 6 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.001304/0.001304, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8533/0.8533, allocations: 133.9 MB / 443.5 MB, free: 13.99 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",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="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.001983/0.001983, allocations: 72.78 kB / 0.6142 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1589, allocations: 85.85 MB / 0.698 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00574/0.1646, allocations: 4.166 MB / 0.7021 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004511/0.1691, allocations: 2.462 MB / 0.7045 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.1695, allocations: 8 kB / 0.7045 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.1713, allocations: 0.5363 MB / 0.705 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.172, allocations: 258 kB / 0.7052 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1723, allocations: 135.9 kB / 0.7054 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009619/0.1733, allocations: 0.8176 MB / 0.7062 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.1737, allocations: 226.5 kB / 0.7064 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.1741, allocations: 310.9 kB / 0.7067 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.1745, allocations: 330.6 kB / 0.707 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.1746, allocations: 76 kB / 0.7071 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1747, allocations: 76 kB / 0.7071 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1749, allocations: 175.4 kB / 0.7073 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.1752, allocations: 378.3 kB / 0.7077 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1763, allocations: 1 MB / 0.7087 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1763, allocations: 0 / 0.7087 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1763, allocations: 3.938 kB / 0.7087 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.1763, allocations: 0 / 0.7087 GB, free: 3.863 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.00159/0.1779, allocations: 0.9652 MB / 0.7096 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.178, allocations: 9.109 kB / 0.7096 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.727e-05/0.178, allocations: 17.19 kB / 0.7096 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1781, allocations: 90.7 kB / 0.7097 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1782, allocations: 76.47 kB / 0.7098 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.1789, allocations: 462 kB / 0.7102 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.179, allocations: 40.94 kB / 0.7103 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.179, allocations: 51.95 kB / 0.7103 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.1798, allocations: 426.5 kB / 0.7107 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1798, allocations: 4 kB / 0.7107 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.1798, allocations: 27.98 kB / 0.7107 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1799, allocations: 8 kB / 0.7108 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.1806, allocations: 367.8 kB / 0.7111 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.1827, allocations: 1.524 MB / 0.7126 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.1833, allocations: 315.9 kB / 0.7129 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.1837, allocations: 290.1 kB / 0.7132 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1838, allocations: 4 kB / 0.7132 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1838, allocations: 38.5 kB / 0.7132 GB, free: 15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.1838, allocations: 4 kB / 0.7132 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009915/0.1848, allocations: 494.5 kB / 0.7137 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1848, allocations: 63.39 kB / 0.7137 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.1855, allocations: 481.9 kB / 0.7142 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1855, allocations: 37.7 kB / 0.7142 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.1857, allocations: 284.6 kB / 0.7145 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.1858, allocations: 162.6 kB / 0.7147 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1859, allocations: 54.08 kB / 0.7147 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1861, allocations: 367.5 kB / 0.7151 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.1864, allocations: 124.7 kB / 0.7152 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1866, allocations: 122.6 kB / 0.7153 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.1871, allocations: 302.1 kB / 0.7156 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1871, allocations: 4 kB / 0.7156 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006816/0.1878, allocations: 392.5 kB / 0.716 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1878, allocations: 8 kB / 0.716 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1879, allocations: 7.938 kB / 0.716 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1879, allocations: 0 / 0.716 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.1884, allocations: 123.9 kB / 0.7161 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.1884, allocations: 4 kB / 0.7161 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.1886, allocations: 39.73 kB / 0.7162 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1886, allocations: 11.98 kB / 0.7162 GB, free: 11.91 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 (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.0002312/0.1889, allocations: 205.6 kB / 0.7164 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.189, allocations: 51.67 kB / 0.7164 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1891, allocations: 61.09 kB / 0.7165 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.1891, allocations: 4 kB / 0.7165 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1891, allocations: 0 / 0.7165 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1891, allocations: 3.984 kB / 0.7165 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006822/0.1898, allocations: 0.5752 MB / 0.717 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1898, allocations: 0 / 0.717 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.1903, allocations: 127.8 kB / 0.7172 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1903, allocations: 4 kB / 0.7172 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1903, allocations: 4 kB / 0.7172 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1903, allocations: 4 kB / 0.7172 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1903, allocations: 0 / 0.7172 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1913, allocations: 0.6511 MB / 0.7178 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1915, allocations: 144.7 kB / 0.7179 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.1915, allocations: 8 kB / 0.718 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.1917, allocations: 8 kB / 0.718 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.1918, allocations: 31.89 kB / 0.718 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.1918, allocations: 12 kB / 0.718 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004034/0.1922, allocations: 351.1 kB / 0.7183 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1922, allocations: 3.938 kB / 0.7183 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004063/0.1926, allocations: 143.7 kB / 0.7185 GB, free: 9.445 MB / 0.5294 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.00136/0.194, allocations: 1.211 MB / 0.7197 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006113/0.1946, allocations: 307.6 kB / 0.72 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1946, allocations: 0 / 0.72 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.1949, allocations: 167.8 kB / 0.7201 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.1956, allocations: 126.8 kB / 0.7202 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.2023, allocations: 4.879 MB / 0.725 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.2028, allocations: 0.8664 MB / 0.7258 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.203, allocations: 56.38 kB / 0.7259 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.2033, allocations: 187.4 kB / 0.7261 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.2033, allocations: 0 / 0.7261 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.2375, allocations: 11.57 MB / 0.7374 GB, free: 6.293 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/8.999, allocations: 20.52 kB / 0.7374 GB, free: 6.273 MB / 0.545 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.705309286015108] Failed to read output from testmodel.py, exit status != 0: 9.394560422981158 9.148162655 8.967938268 Calling exit ...