Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001486/0.001486, 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.001614/0.001614, allocations: 215.4 kB / 22.25 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.367/1.367, allocations: 230.6 MB / 256 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.002454/0.002454, allocations: 281.8 kB / 312.7 MB, free: 2.809 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.167/1.167, allocations: 180.6 MB / 0.5369 GB, free: 12.94 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.002772/0.002772, allocations: 109.7 kB / 0.7397 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1596, allocations: 95.38 MB / 0.8328 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002625/0.1622, allocations: 1.468 MB / 0.8342 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004599/0.1668, allocations: 2.987 MB / 0.8372 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.1669, allocations: 4 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.1669, allocations: 7.938 kB / 0.8372 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.167, allocations: 11.86 kB / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.1712, allocations: 1.731 MB / 0.8389 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.1713, allocations: 39.69 kB / 0.8389 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1714, allocations: 7.984 kB / 0.8389 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.068e-05/0.1714, allocations: 15.94 kB / 0.8389 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.1714, allocations: 15.92 kB / 0.839 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.1714, allocations: 0 / 0.839 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.1743, allocations: 1.767 MB / 0.8407 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.1743, allocations: 7.922 kB / 0.8407 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.1743, allocations: 19.88 kB / 0.8407 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.1763, allocations: 1.146 MB / 0.8418 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1763, allocations: 4 kB / 0.8418 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1763, allocations: 0 / 0.8418 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1763, allocations: 0 / 0.8418 GB, free: 15.51 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.0006962/0.177, allocations: 472 kB / 0.8423 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.177, allocations: 16.55 kB / 0.8423 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1771, allocations: 110 kB / 0.8424 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.1772, allocations: 80.22 kB / 0.8425 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1773, allocations: 197.7 kB / 0.8427 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1774, allocations: 150.9 kB / 0.8428 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.1774, allocations: 154.9 kB / 0.843 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.848e-05/0.1775, allocations: 104.9 kB / 0.8431 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.1775, allocations: 79.28 kB / 0.8431 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.1776, allocations: 150.6 kB / 0.8433 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.1777, allocations: 150.6 kB / 0.8434 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.1777, allocations: 154.5 kB / 0.8436 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.178, allocations: 437 kB / 0.844 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.1781, allocations: 177.1 kB / 0.8441 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.1781, allocations: 84.12 kB / 0.8442 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1782, allocations: 79.22 kB / 0.8443 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.1782, allocations: 117.7 kB / 0.8444 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1782, allocations: 0 / 0.8444 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.897e-05/0.1783, allocations: 41.7 kB / 0.8445 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.1784, allocations: 126.7 kB / 0.8446 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1785, allocations: 135.2 kB / 0.8447 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1785, allocations: 25.7 kB / 0.8447 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.1786, allocations: 92.12 kB / 0.8448 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.1786, allocations: 0 / 0.8448 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.1786, allocations: 17.72 kB / 0.8448 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1788, allocations: 326.8 kB / 0.8451 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.1788, allocations: 4 kB / 0.8452 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.1788, allocations: 4 kB / 0.8452 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.1788, allocations: 16.8 kB / 0.8452 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1788, allocations: 0 / 0.8452 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.179, allocations: 53.59 kB / 0.8452 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.179, allocations: 6.188 kB / 0.8452 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.179, allocations: 7.984 kB / 0.8452 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.179, allocations: 0 / 0.8452 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.179, allocations: 0 / 0.8452 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.179, allocations: 4.062 kB / 0.8452 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.179, allocations: 4 kB / 0.8452 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.179, allocations: 0 / 0.8452 GB, free: 11.8 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 9.842e-05/0.1791, allocations: 185.8 kB / 0.8454 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.1792, allocations: 116.8 kB / 0.8455 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.1793, allocations: 112.8 kB / 0.8456 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.818e-05/0.1793, allocations: 184.2 kB / 0.8458 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.958e-05/0.1794, allocations: 176.3 kB / 0.846 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-05/0.1795, allocations: 180.3 kB / 0.8462 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.1797, allocations: 388.2 kB / 0.8465 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-05/0.1798, allocations: 105 kB / 0.8466 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.1798, allocations: 112.9 kB / 0.8467 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.155e-05/0.1799, allocations: 184.3 kB / 0.8469 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/0.18, allocations: 176.3 kB / 0.8471 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.929e-05/0.18, allocations: 184.1 kB / 0.8473 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.1801, allocations: 188.3 kB / 0.8474 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1802, allocations: 319.7 kB / 0.8477 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.1803, allocations: 108.9 kB / 0.8478 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.1804, allocations: 184.2 kB / 0.848 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1805, allocations: 101 kB / 0.8481 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.1805, allocations: 180.2 kB / 0.8483 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.1806, allocations: 109 kB / 0.8484 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.1806, allocations: 99.27 kB / 0.8485 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1806, allocations: 3.938 kB / 0.8485 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007617/0.1814, allocations: 295 kB / 0.8488 GB, free: 7.988 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.001487/0.1829, allocations: 1.19 MB / 0.8499 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.183, allocations: 37.69 kB / 0.85 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.183, allocations: 0 / 0.85 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.183, allocations: 0 / 0.85 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1834, allocations: 463.8 kB / 0.8504 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1849, allocations: 1.622 MB / 0.852 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1852, allocations: 0.6807 MB / 0.8527 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.1852, allocations: 0 / 0.8527 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.1852, allocations: 23.42 kB / 0.8527 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1852, allocations: 4.031 kB / 0.8527 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.023/1.208, allocations: 7.374 MB / 0.8599 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.54, allocations: 4.516 kB / 0.8599 GB, free: 12.64 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.647230461006984] Failed to read output from testmodel.py, exit status != 0: 12.649122820002958 12.67866065 12.49714929 Calling exit ...