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.001706/0.001706, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002077/0.002077, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.00249/0.00249, allocations: 287.8 kB / 313.5 MB, free: 2.621 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.201/1.201, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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="cs",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="cs",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.002762/0.002762, allocations: 95.23 kB / 0.7403 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1592, allocations: 95.39 MB / 0.8335 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00525/0.1645, allocations: 3.777 MB / 0.8371 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003294/0.1678, allocations: 2.223 MB / 0.8393 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.1681, allocations: 12 kB / 0.8393 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.1695, allocations: 498.1 kB / 0.8398 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.1699, allocations: 258 kB / 0.8401 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1702, allocations: 135.9 kB / 0.8402 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.171, allocations: 0.8144 MB / 0.841 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.1714, allocations: 231 kB / 0.8412 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.1717, allocations: 310.9 kB / 0.8415 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.1722, allocations: 326.6 kB / 0.8418 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.721e-05/0.1722, allocations: 76 kB / 0.8419 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1724, allocations: 72 kB / 0.8419 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1725, allocations: 175.4 kB / 0.8421 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.1728, allocations: 310.7 kB / 0.8424 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009579/0.1738, allocations: 1.008 MB / 0.8434 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1738, allocations: 0 / 0.8434 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.086e-06/0.1738, allocations: 3.984 kB / 0.8434 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.1738, allocations: 4 kB / 0.8434 GB, free: 14.07 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.00148/0.1753, allocations: 0.8963 MB / 0.8443 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1753, allocations: 9.344 kB / 0.8443 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.426e-05/0.1754, allocations: 17.12 kB / 0.8443 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.514e-05/0.1755, allocations: 86.7 kB / 0.8444 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1756, allocations: 76.47 kB / 0.8445 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.1763, allocations: 408.2 kB / 0.8448 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1763, allocations: 45.31 kB / 0.8449 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.1764, allocations: 48.38 kB / 0.8449 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.1772, allocations: 422.4 kB / 0.8453 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1772, allocations: 11.98 kB / 0.8454 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1773, allocations: 16 kB / 0.8454 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1773, allocations: 8 kB / 0.8454 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.178, allocations: 367.8 kB / 0.8457 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.18, allocations: 1.257 MB / 0.847 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.1806, allocations: 321.7 kB / 0.8473 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.181, allocations: 292.8 kB / 0.8475 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1811, allocations: 4 kB / 0.8475 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1811, allocations: 38.56 kB / 0.8476 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 2.205e-06/0.1811, allocations: 0 / 0.8476 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009937/0.1821, allocations: 498.5 kB / 0.8481 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.1821, allocations: 59.41 kB / 0.8481 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.1827, allocations: 485.9 kB / 0.8486 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1828, allocations: 29.7 kB / 0.8486 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.183, allocations: 276.7 kB / 0.8489 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.1831, allocations: 158.6 kB / 0.849 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1832, allocations: 62.08 kB / 0.8491 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1834, allocations: 362.8 kB / 0.8494 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.1836, allocations: 116.7 kB / 0.8495 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.1839, allocations: 125.4 kB / 0.8497 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.1844, allocations: 299.3 kB / 0.8499 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1844, allocations: 0 / 0.8499 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006976/0.1851, allocations: 404.4 kB / 0.8503 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1851, allocations: 4 kB / 0.8503 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1851, allocations: 3.984 kB / 0.8503 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1852, allocations: 4 kB / 0.8503 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.1857, allocations: 127.9 kB / 0.8505 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1857, allocations: 0 / 0.8505 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1859, allocations: 35.73 kB / 0.8505 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1859, allocations: 8 kB / 0.8505 GB, free: 6.59 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.0002339/0.1862, allocations: 197.8 kB / 0.8507 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.1862, allocations: 55.61 kB / 0.8507 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1864, allocations: 65.09 kB / 0.8508 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1864, allocations: 4 kB / 0.8508 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1864, allocations: 0 / 0.8508 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1864, allocations: 7.938 kB / 0.8508 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.187, allocations: 499.9 kB / 0.8513 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.187, allocations: 0 / 0.8513 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.1875, allocations: 123.9 kB / 0.8514 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1875, allocations: 4 kB / 0.8514 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.1876, allocations: 4 kB / 0.8514 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1876, allocations: 4 kB / 0.8514 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1876, allocations: 0 / 0.8514 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1886, allocations: 0.6627 MB / 0.8521 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1887, allocations: 67.59 kB / 0.8521 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.1888, allocations: 12 kB / 0.8521 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.189, allocations: 11.98 kB / 0.8522 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.1891, allocations: 23.95 kB / 0.8522 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.1891, allocations: 12 kB / 0.8522 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004146/0.1895, allocations: 347.1 kB / 0.8525 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1895, allocations: 0 / 0.8525 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004204/0.1899, allocations: 151.7 kB / 0.8527 GB, free: 4.305 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.00135/0.1913, allocations: 1.212 MB / 0.8538 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006066/0.1919, allocations: 295.6 kB / 0.8541 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1919, allocations: 4 kB / 0.8541 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.1922, allocations: 167.8 kB / 0.8543 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.1929, allocations: 124 kB / 0.8544 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.1996, allocations: 4.854 MB / 0.8592 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1999, allocations: 275.1 kB / 0.8594 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.2001, allocations: 56.38 kB / 0.8595 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.2003, allocations: 187.4 kB / 0.8596 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.2003, allocations: 0 / 0.8596 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.237, allocations: 12.36 MB / 0.8717 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.96, allocations: 16 kB / 0.8717 GB, free: 1.055 MB / 0.6075 GB " [Timeout remaining time 648] (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: 16.156591070001014] Failed to read output from testmodel.py, exit status != 0: 12.128837663913146 12.155228637 11.976693676 Calling exit ...