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.001255/0.001255, allocations: 97.92 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.001403/0.001403, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.39/1.39, 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.002457/0.002457, allocations: 290.7 kB / 313.5 MB, free: 2.688 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.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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="cs",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="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.002857/0.002857, allocations: 97.45 kB / 0.7403 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1591, allocations: 95.39 MB / 0.8335 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002505/0.1616, allocations: 1.438 MB / 0.8349 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004198/0.1658, allocations: 2.664 MB / 0.8375 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.1658, allocations: 0 / 0.8375 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.1658, allocations: 7.922 kB / 0.8375 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.1659, allocations: 11.86 kB / 0.8375 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.1697, allocations: 1.673 MB / 0.8391 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.1698, allocations: 39.67 kB / 0.8392 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1698, allocations: 11.98 kB / 0.8392 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.1698, allocations: 11.94 kB / 0.8392 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.1699, allocations: 15.88 kB / 0.8392 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1699, allocations: 0 / 0.8392 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.1722, allocations: 1.591 MB / 0.8408 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1722, allocations: 0 / 0.8408 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.1722, allocations: 23.86 kB / 0.8408 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1737, allocations: 1.103 MB / 0.8419 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1737, allocations: 0 / 0.8419 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.438e-06/0.1737, allocations: 4 kB / 0.8419 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1737, allocations: 0 / 0.8419 GB, free: 15.66 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.0006569/0.1744, allocations: 478 kB / 0.8423 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1744, allocations: 9.219 kB / 0.8423 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.404e-05/0.1745, allocations: 79.47 kB / 0.8424 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.1745, allocations: 110 kB / 0.8425 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.1746, allocations: 84.17 kB / 0.8426 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1748, allocations: 189.8 kB / 0.8428 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.1748, allocations: 154.9 kB / 0.8429 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.1749, allocations: 158.7 kB / 0.8431 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.833e-05/0.175, allocations: 105 kB / 0.8432 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.175, allocations: 75.28 kB / 0.8433 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.1751, allocations: 154.6 kB / 0.8434 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/0.1751, allocations: 150.6 kB / 0.8435 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.1752, allocations: 158.4 kB / 0.8437 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.1755, allocations: 433 kB / 0.8441 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.1756, allocations: 173.1 kB / 0.8443 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.1756, allocations: 84.08 kB / 0.8444 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1757, allocations: 75.28 kB / 0.8444 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.1757, allocations: 117.8 kB / 0.8445 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1757, allocations: 0 / 0.8445 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.304e-05/0.1758, allocations: 37.7 kB / 0.8446 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.1758, allocations: 126.7 kB / 0.8447 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.176, allocations: 135.6 kB / 0.8448 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.176, allocations: 25.7 kB / 0.8449 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1761, allocations: 96.12 kB / 0.8449 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.1761, allocations: 3.938 kB / 0.8449 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.1761, allocations: 13.72 kB / 0.845 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1762, allocations: 322.8 kB / 0.8453 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.1762, allocations: 4 kB / 0.8453 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.1763, allocations: 12 kB / 0.8453 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.1763, allocations: 12.8 kB / 0.8453 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1763, allocations: 0 / 0.8453 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001197/0.1764, allocations: 53.59 kB / 0.8453 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1764, allocations: 7.984 kB / 0.8454 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.1764, allocations: 8 kB / 0.8454 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1765, allocations: 0 / 0.8454 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1765, allocations: 0 / 0.8454 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.1765, allocations: 0 / 0.8454 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.1765, allocations: 4 kB / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1765, allocations: 64 / 0.8454 GB, free: 11.88 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.1766, allocations: 193.7 kB / 0.8455 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1767, allocations: 108.9 kB / 0.8457 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.1767, allocations: 112.8 kB / 0.8458 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.225e-05/0.1768, allocations: 184.2 kB / 0.8459 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/0.1769, allocations: 184.2 kB / 0.8461 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.941e-05/0.1769, allocations: 176.3 kB / 0.8463 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1772, allocations: 392.2 kB / 0.8467 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/0.1772, allocations: 101 kB / 0.8468 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.1772, allocations: 117 kB / 0.8469 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.1773, allocations: 180.2 kB / 0.847 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.1774, allocations: 180.3 kB / 0.8472 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.907e-05/0.1774, allocations: 184.2 kB / 0.8474 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-05/0.1775, allocations: 180.2 kB / 0.8476 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1777, allocations: 319.7 kB / 0.8479 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1777, allocations: 104.9 kB / 0.848 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.1778, allocations: 188.2 kB / 0.8481 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.1779, allocations: 101 kB / 0.8482 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.178, allocations: 184.2 kB / 0.8484 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.178, allocations: 105 kB / 0.8485 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.1781, allocations: 97.45 kB / 0.8486 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1781, allocations: 4 kB / 0.8486 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007599/0.1788, allocations: 295 kB / 0.8489 GB, free: 8.07 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.001385/0.1802, allocations: 1.198 MB / 0.8501 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.518e-05/0.1803, allocations: 41.64 kB / 0.8501 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1803, allocations: 64 / 0.8501 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.1803, allocations: 4 kB / 0.8501 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1807, allocations: 455.7 kB / 0.8505 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1822, allocations: 1.623 MB / 0.8521 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.759e-05/0.1822, allocations: 71.59 kB / 0.8522 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.265e-05/0.1822, allocations: 0 / 0.8522 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1823, allocations: 23.45 kB / 0.8522 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1823, allocations: 4 kB / 0.8522 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2102, allocations: 7.482 MB / 0.8595 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.53, allocations: 0 / 0.8595 GB, free: 13.25 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.578419808065519] Failed to read output from testmodel.py, exit status != 0: 11.693735443986952 11.709358574 11.532555681 Calling exit ...