Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001277/0.001277, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002379/0.002379, allocations: 212.4 kB / 22.25 MB, free: 4.855 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003952/0.003952, allocations: 286.4 kB / 312.7 MB, free: 2.625 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.185/1.185, allocations: 180.6 MB / 0.5369 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00287/0.00287, allocations: 106.3 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1601, allocations: 95.38 MB / 0.8327 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005402/0.1655, allocations: 3.792 MB / 0.8364 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.1688, allocations: 2.223 MB / 0.8386 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.1691, allocations: 8 kB / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.1704, allocations: 497.4 kB / 0.8391 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.1709, allocations: 254 kB / 0.8393 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1711, allocations: 143.8 kB / 0.8394 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008374/0.1719, allocations: 0.8067 MB / 0.8402 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.1723, allocations: 219 kB / 0.8404 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.1727, allocations: 303 kB / 0.8407 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.1731, allocations: 282.7 kB / 0.841 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.1731, allocations: 72 kB / 0.8411 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1733, allocations: 76 kB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.1735, allocations: 179.4 kB / 0.8413 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.1738, allocations: 310.6 kB / 0.8416 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009567/0.1747, allocations: 1.004 MB / 0.8426 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1747, allocations: 8 kB / 0.8426 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1747, allocations: 0 / 0.8426 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1747, allocations: 3.938 kB / 0.8426 GB, free: 14.24 MB / 0.5919 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.001397/0.1761, allocations: 0.8899 MB / 0.8435 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1762, allocations: 13.34 kB / 0.8435 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.1763, allocations: 90.7 kB / 0.8436 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1764, allocations: 76.47 kB / 0.8436 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.177, allocations: 400.2 kB / 0.844 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.1771, allocations: 41.31 kB / 0.8441 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.1771, allocations: 48.38 kB / 0.8441 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.1779, allocations: 434.5 kB / 0.8445 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1779, allocations: 0 / 0.8445 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.1779, allocations: 20 kB / 0.8445 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1779, allocations: 12 kB / 0.8445 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/0.1786, allocations: 363.8 kB / 0.8449 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.1806, allocations: 1.257 MB / 0.8461 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.1812, allocations: 325.1 kB / 0.8464 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.1816, allocations: 284.7 kB / 0.8467 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.1817, allocations: 11.94 kB / 0.8467 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1817, allocations: 34.56 kB / 0.8467 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.1817, allocations: 0 / 0.8467 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009597/0.1827, allocations: 0.4946 MB / 0.8472 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1827, allocations: 55.41 kB / 0.8473 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.1833, allocations: 489.9 kB / 0.8477 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1833, allocations: 29.7 kB / 0.8478 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1835, allocations: 276.7 kB / 0.848 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1836, allocations: 154.6 kB / 0.8482 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1837, allocations: 62.08 kB / 0.8482 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1839, allocations: 358.8 kB / 0.8486 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.1842, allocations: 120.7 kB / 0.8487 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.1844, allocations: 129.5 kB / 0.8488 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.1849, allocations: 299.3 kB / 0.8491 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1849, allocations: 0 / 0.8491 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006814/0.1856, allocations: 401.2 kB / 0.8495 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1856, allocations: 4 kB / 0.8495 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1857, allocations: 0 / 0.8495 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1857, allocations: 4 kB / 0.8495 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.1862, allocations: 127.9 kB / 0.8496 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1862, allocations: 0 / 0.8496 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.1864, allocations: 43.73 kB / 0.8497 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.1864, allocations: 15.92 kB / 0.8497 GB, free: 6.773 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.000225/0.1866, allocations: 189.8 kB / 0.8499 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.1867, allocations: 55.61 kB / 0.8499 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1868, allocations: 65.09 kB / 0.85 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1868, allocations: 4 kB / 0.85 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1868, allocations: 4 kB / 0.85 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1869, allocations: 3.984 kB / 0.85 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.1875, allocations: 488 kB / 0.8505 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1875, allocations: 3.938 kB / 0.8505 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.188, allocations: 123.9 kB / 0.8506 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.188, allocations: 7.938 kB / 0.8506 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.188, allocations: 8 kB / 0.8506 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.188, allocations: 4 kB / 0.8506 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.188, allocations: 0 / 0.8506 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1891, allocations: 0.6511 MB / 0.8512 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1892, allocations: 71.41 kB / 0.8513 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.1893, allocations: 8 kB / 0.8513 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1895, allocations: 15.98 kB / 0.8513 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.1896, allocations: 23.95 kB / 0.8513 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1896, allocations: 8 kB / 0.8514 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004266/0.19, allocations: 355.1 kB / 0.8517 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.19, allocations: 0 / 0.8517 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004026/0.1904, allocations: 147.7 kB / 0.8518 GB, free: 4.5 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.001355/0.1918, allocations: 1.208 MB / 0.853 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005975/0.1924, allocations: 295.6 kB / 0.8533 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1924, allocations: 4 kB / 0.8533 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1927, allocations: 171.8 kB / 0.8535 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.1933, allocations: 138.6 kB / 0.8536 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.1999, allocations: 4.852 MB / 0.8583 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2002, allocations: 271.2 kB / 0.8586 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.2005, allocations: 48.39 kB / 0.8586 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.2007, allocations: 191.4 kB / 0.8588 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.2007, allocations: 4 kB / 0.8588 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.2432, allocations: 12.65 MB / 0.8712 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.18, allocations: 15.45 kB / 0.8712 GB, free: 0.9023 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.203176663257182] Failed to read output from testmodel.py, exit status != 0: 11.28884411090985 11.315481914 11.135549569 Calling exit ...