Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001353/0.001353, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001599/0.001599, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8.035 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.002562/0.002562, allocations: 276.9 kB / 312.7 MB, free: 2.93 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: 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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.002823/0.002823, allocations: 107.8 kB / 0.7397 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1616, allocations: 95.39 MB / 0.8328 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002439/0.164, allocations: 1.459 MB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1683, allocations: 2.952 MB / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.1684, allocations: 0 / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.1684, allocations: 7.922 kB / 0.8371 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.1685, allocations: 11.88 kB / 0.8371 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.1721, allocations: 1.685 MB / 0.8388 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.1722, allocations: 47.73 kB / 0.8388 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.22e-05/0.1722, allocations: 0 / 0.8388 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.1722, allocations: 15.92 kB / 0.8388 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.1722, allocations: 23.86 kB / 0.8389 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1723, allocations: 4 kB / 0.8389 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.1746, allocations: 1.712 MB / 0.8405 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1746, allocations: 0 / 0.8405 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1746, allocations: 27.86 kB / 0.8406 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.176, allocations: 1.118 MB / 0.8417 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.176, allocations: 4 kB / 0.8417 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.176, allocations: 0 / 0.8417 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.176, allocations: 0 / 0.8417 GB, free: 15.54 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.0005941/0.1766, allocations: 472.1 kB / 0.8421 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1767, allocations: 9.219 kB / 0.8421 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.1767, allocations: 106 kB / 0.8422 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.1768, allocations: 84.17 kB / 0.8423 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1769, allocations: 199.7 kB / 0.8425 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.177, allocations: 150.9 kB / 0.8426 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.177, allocations: 154.9 kB / 0.8428 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.521e-05/0.1771, allocations: 104.9 kB / 0.8429 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.1772, allocations: 79.28 kB / 0.843 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.1772, allocations: 158.5 kB / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.1773, allocations: 150.6 kB / 0.8433 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.1773, allocations: 154.5 kB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.1777, allocations: 436.9 kB / 0.8438 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.1777, allocations: 169.1 kB / 0.844 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.1778, allocations: 80.14 kB / 0.8441 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1778, allocations: 79.22 kB / 0.8441 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.1779, allocations: 113.8 kB / 0.8442 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1779, allocations: 0 / 0.8442 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.666e-05/0.1779, allocations: 33.59 kB / 0.8443 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.178, allocations: 130.7 kB / 0.8444 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1781, allocations: 129.8 kB / 0.8445 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1782, allocations: 25.7 kB / 0.8446 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.1782, allocations: 96.08 kB / 0.8446 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.1782, allocations: 0 / 0.8446 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1782, allocations: 21.77 kB / 0.8447 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1784, allocations: 314.8 kB / 0.845 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.1784, allocations: 7.984 kB / 0.845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.1784, allocations: 4 kB / 0.845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.1784, allocations: 16.89 kB / 0.845 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1785, allocations: 0 / 0.845 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.1786, allocations: 53.56 kB / 0.845 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1786, allocations: 9.719 kB / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.1786, allocations: 0 / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1786, allocations: 3.938 kB / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.1786, allocations: 0 / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1786, allocations: 4 kB / 0.8451 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.1786, allocations: 7.953 kB / 0.8451 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1787, allocations: 0 / 0.8451 GB, free: 11.86 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.0001016/0.1788, allocations: 193.8 kB / 0.8453 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.1788, allocations: 104.9 kB / 0.8454 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.1789, allocations: 124.5 kB / 0.8455 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/0.1789, allocations: 176.3 kB / 0.8456 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.957e-05/0.179, allocations: 180.2 kB / 0.8458 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/0.1791, allocations: 188.3 kB / 0.846 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1793, allocations: 392.2 kB / 0.8464 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/0.1794, allocations: 101 kB / 0.8465 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.1794, allocations: 105 kB / 0.8466 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-05/0.1795, allocations: 180.2 kB / 0.8467 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.1796, allocations: 180.3 kB / 0.8469 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.959e-05/0.1796, allocations: 180.2 kB / 0.8471 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.437e-05/0.1797, allocations: 188.2 kB / 0.8473 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.1798, allocations: 307.7 kB / 0.8475 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.1799, allocations: 112.9 kB / 0.8477 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.18, allocations: 192.2 kB / 0.8478 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.1801, allocations: 101 kB / 0.8479 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.1801, allocations: 176.3 kB / 0.8481 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.1802, allocations: 108.9 kB / 0.8482 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.1802, allocations: 95.27 kB / 0.8483 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1802, allocations: 0 / 0.8483 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006495/0.1809, allocations: 295 kB / 0.8486 GB, free: 8.051 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.001242/0.1821, allocations: 1.171 MB / 0.8497 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.1822, allocations: 45.64 kB / 0.8498 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1822, allocations: 0 / 0.8498 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1822, allocations: 0 / 0.8498 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1826, allocations: 466 kB / 0.8502 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.184, allocations: 1.597 MB / 0.8518 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1843, allocations: 0.6884 MB / 0.8524 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.138e-05/0.1843, allocations: 0 / 0.8524 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.1844, allocations: 15.42 kB / 0.8525 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1844, allocations: 0 / 0.8525 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.2177, allocations: 7.169 MB / 0.8595 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.85, allocations: 11.88 kB / 0.8595 GB, free: 12.94 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.413538038963452] Failed to read output from testmodel.py, exit status != 0: 11.960388761013746 11.97639448 11.797350767 Calling exit ...