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.001259/0.001259, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001456/0.001456, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002491/0.002491, allocations: 295.4 kB / 313.5 MB, free: 2.605 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.208/1.208, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.002783/0.002783, allocations: 95.61 kB / 0.7403 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1566, allocations: 95.4 MB / 0.8335 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00254/0.1591, allocations: 1.43 MB / 0.8349 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.1634, allocations: 2.672 MB / 0.8375 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.1635, allocations: 0 / 0.8375 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.1635, allocations: 3.938 kB / 0.8375 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.1635, allocations: 11.86 kB / 0.8375 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/0.1677, allocations: 1.67 MB / 0.8391 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.1678, allocations: 39.73 kB / 0.8392 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.1679, allocations: 15.97 kB / 0.8392 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.986e-05/0.1679, allocations: 11.94 kB / 0.8392 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.1679, allocations: 15.88 kB / 0.8392 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1679, allocations: 4 kB / 0.8392 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.1705, allocations: 1.587 MB / 0.8408 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.1705, allocations: 0 / 0.8408 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.1705, allocations: 19.88 kB / 0.8408 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.1724, allocations: 1.103 MB / 0.8419 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1724, allocations: 7.875 kB / 0.8419 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.666e-06/0.1724, allocations: 7.984 kB / 0.8419 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1724, allocations: 0 / 0.8419 GB, free: 15.71 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.0006792/0.1731, allocations: 472 kB / 0.8423 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1731, allocations: 17.16 kB / 0.8424 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.34e-05/0.1732, allocations: 75.47 kB / 0.8424 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.1732, allocations: 106 kB / 0.8425 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.1733, allocations: 88.11 kB / 0.8426 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1735, allocations: 193.8 kB / 0.8428 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.1735, allocations: 150.9 kB / 0.8429 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.1736, allocations: 154.7 kB / 0.8431 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.637e-05/0.1737, allocations: 105 kB / 0.8432 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.1737, allocations: 83.22 kB / 0.8433 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.1738, allocations: 150.6 kB / 0.8434 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.599e-05/0.1739, allocations: 150.6 kB / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.1739, allocations: 154.6 kB / 0.8437 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1742, allocations: 429 kB / 0.8441 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1743, allocations: 173.1 kB / 0.8443 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.1744, allocations: 88.02 kB / 0.8444 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.1744, allocations: 79.28 kB / 0.8444 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.1745, allocations: 105.8 kB / 0.8445 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1745, allocations: 0 / 0.8445 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.845e-05/0.1746, allocations: 41.7 kB / 0.8446 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.1746, allocations: 126.7 kB / 0.8447 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1748, allocations: 135.5 kB / 0.8448 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1748, allocations: 29.7 kB / 0.8449 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.1749, allocations: 92.12 kB / 0.8449 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.1749, allocations: 0 / 0.8449 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.1749, allocations: 17.72 kB / 0.845 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.175, allocations: 318.8 kB / 0.8453 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.1751, allocations: 7.938 kB / 0.8453 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.1751, allocations: 8 kB / 0.8453 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.1751, allocations: 8.891 kB / 0.8453 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.1751, allocations: 8 kB / 0.8453 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/0.1753, allocations: 57.64 kB / 0.8453 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1753, allocations: 8 kB / 0.8454 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.1753, allocations: 0 / 0.8454 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1753, allocations: 0 / 0.8454 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1753, allocations: 4 kB / 0.8454 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1753, allocations: 0 / 0.8454 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.1753, allocations: 7.938 kB / 0.8454 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1754, allocations: 0 / 0.8454 GB, free: 11.94 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.0001156/0.1755, allocations: 193.7 kB / 0.8456 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.1755, allocations: 113 kB / 0.8457 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.1756, allocations: 108.8 kB / 0.8458 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.931e-05/0.1757, allocations: 184.2 kB / 0.8459 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-05/0.1757, allocations: 180.3 kB / 0.8461 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.979e-05/0.1758, allocations: 180.2 kB / 0.8463 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.176, allocations: 388.2 kB / 0.8467 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.862e-05/0.1761, allocations: 104.9 kB / 0.8468 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.1761, allocations: 116.9 kB / 0.8469 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.808e-05/0.1762, allocations: 176.3 kB / 0.847 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/0.1763, allocations: 180.2 kB / 0.8472 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.907e-05/0.1763, allocations: 184.3 kB / 0.8474 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.137e-05/0.1764, allocations: 180.2 kB / 0.8476 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1766, allocations: 319.7 kB / 0.8479 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.1766, allocations: 108.9 kB / 0.848 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.1767, allocations: 184.2 kB / 0.8481 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.1768, allocations: 101 kB / 0.8482 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.1769, allocations: 188.2 kB / 0.8484 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.1769, allocations: 101 kB / 0.8485 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.177, allocations: 97.61 kB / 0.8486 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 0 / 0.8486 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007997/0.1778, allocations: 298.9 kB / 0.8489 GB, free: 8.129 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.001515/0.1793, allocations: 1.198 MB / 0.8501 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1794, allocations: 37.7 kB / 0.8501 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1794, allocations: 0 / 0.8501 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.1794, allocations: 0 / 0.8501 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1798, allocations: 467.7 kB / 0.8505 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1814, allocations: 1.613 MB / 0.8521 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.1815, allocations: 71.59 kB / 0.8522 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.1815, allocations: 0 / 0.8522 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1815, allocations: 23.42 kB / 0.8522 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.1815, allocations: 0 / 0.8522 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.2104, allocations: 7.484 MB / 0.8595 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.37, allocations: 5.047 kB / 0.8595 GB, free: 13.3 MB / 0.6075 GB " [Timeout remaining time 648] (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.540558926993981] Failed to read output from testmodel.py, exit status != 0: 11.52991204499267 11.555405586 11.379800239 Calling exit ...