Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001467/0.001467, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001751/0.001751, allocations: 216 kB / 23.04 MB, free: 5.078 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002453/0.002453, allocations: 285.9 kB / 313.5 MB, free: 2.855 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.144/1.144, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.002743/0.002743, allocations: 104.6 kB / 0.7404 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1684, allocations: 95.38 MB / 0.8336 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002535/0.1709, allocations: 1.484 MB / 0.835 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.1753, allocations: 2.991 MB / 0.8379 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.1753, allocations: 0 / 0.8379 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.1753, allocations: 0 / 0.8379 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.1754, allocations: 23.78 kB / 0.838 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.1791, allocations: 1.711 MB / 0.8396 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.1792, allocations: 47.67 kB / 0.8397 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.1792, allocations: 0 / 0.8397 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.1793, allocations: 11.94 kB / 0.8397 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.1793, allocations: 19.92 kB / 0.8397 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1793, allocations: 8 kB / 0.8397 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.1817, allocations: 1.759 MB / 0.8414 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1817, allocations: 7.938 kB / 0.8414 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1817, allocations: 23.81 kB / 0.8415 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1832, allocations: 1.146 MB / 0.8426 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1832, allocations: 0 / 0.8426 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1832, allocations: 0 / 0.8426 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1832, allocations: 0 / 0.8426 GB, free: 15.4 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005839/0.1838, allocations: 486.2 kB / 0.843 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1838, allocations: 12.62 kB / 0.8431 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.352e-05/0.1839, allocations: 75.47 kB / 0.8431 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.1839, allocations: 106 kB / 0.8432 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.184, allocations: 80.22 kB / 0.8433 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1841, allocations: 197.7 kB / 0.8435 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.1842, allocations: 154.9 kB / 0.8436 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.1843, allocations: 162.7 kB / 0.8438 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.077e-05/0.1843, allocations: 101 kB / 0.8439 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1843, allocations: 79.27 kB / 0.844 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.1844, allocations: 154.6 kB / 0.8441 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.1845, allocations: 150.6 kB / 0.8443 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.1845, allocations: 154.6 kB / 0.8444 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.1848, allocations: 436.9 kB / 0.8448 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.1849, allocations: 169.1 kB / 0.845 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.1849, allocations: 84.08 kB / 0.8451 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.185, allocations: 79.28 kB / 0.8451 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.185, allocations: 113.8 kB / 0.8453 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.185, allocations: 0 / 0.8453 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.653e-05/0.1851, allocations: 37.64 kB / 0.8453 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.1852, allocations: 130.7 kB / 0.8454 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1853, allocations: 135.6 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1853, allocations: 25.7 kB / 0.8456 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1854, allocations: 96.12 kB / 0.8457 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.1854, allocations: 0 / 0.8457 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1854, allocations: 17.72 kB / 0.8457 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1855, allocations: 318.8 kB / 0.846 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.1856, allocations: 4 kB / 0.846 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.1856, allocations: 4 kB / 0.846 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.1856, allocations: 16.86 kB / 0.846 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1856, allocations: 0 / 0.846 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001267/0.1857, allocations: 57.52 kB / 0.8461 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1858, allocations: 12.06 kB / 0.8461 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.1858, allocations: 4 kB / 0.8461 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1858, allocations: 0 / 0.8461 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1858, allocations: 0 / 0.8461 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1858, allocations: 0 / 0.8461 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1858, allocations: 3.938 kB / 0.8461 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1858, allocations: 4 kB / 0.8461 GB, free: 11.61 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001004/0.1859, allocations: 185.7 kB / 0.8463 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.186, allocations: 120.9 kB / 0.8464 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.1861, allocations: 108.7 kB / 0.8465 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.399e-05/0.1861, allocations: 176.3 kB / 0.8466 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.278e-05/0.1862, allocations: 184.2 kB / 0.8468 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.976e-05/0.1863, allocations: 180.2 kB / 0.847 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1865, allocations: 396.3 kB / 0.8474 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-05/0.1865, allocations: 108.9 kB / 0.8475 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.1866, allocations: 101 kB / 0.8476 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.26e-05/0.1867, allocations: 180.2 kB / 0.8477 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.1867, allocations: 184.3 kB / 0.8479 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.88e-05/0.1868, allocations: 184.2 kB / 0.8481 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-05/0.1869, allocations: 184.2 kB / 0.8483 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.187, allocations: 319.7 kB / 0.8486 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1871, allocations: 108.9 kB / 0.8487 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.1871, allocations: 176.3 kB / 0.8488 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.1872, allocations: 108.9 kB / 0.8489 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.1873, allocations: 180.3 kB / 0.8491 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.1873, allocations: 104.9 kB / 0.8492 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.1874, allocations: 109.6 kB / 0.8493 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1874, allocations: 0 / 0.8493 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006924/0.1881, allocations: 291 kB / 0.8496 GB, free: 7.801 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001305/0.1894, allocations: 1.193 MB / 0.8508 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.1895, allocations: 37.64 kB / 0.8508 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1895, allocations: 0 / 0.8508 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1895, allocations: 4.062 kB / 0.8508 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1899, allocations: 463.7 kB / 0.8513 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1913, allocations: 1.615 MB / 0.8528 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1916, allocations: 0.6846 MB / 0.8535 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.1916, allocations: 0 / 0.8535 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1916, allocations: 19.42 kB / 0.8535 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.1916, allocations: 0 / 0.8535 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.2201, allocations: 7.408 MB / 0.8607 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 13.05 kB / 0.8608 GB, free: 12.44 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.345610878022853] Failed to read output from testmodel.py, exit status != 0: 11.447429333988111 11.472893833 11.285043336 Calling exit ...