Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 110 kB / 16.41 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 195.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8273/0.8273, allocations: 132.2 MB / 429.4 MB, free: 5.934 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 68.72 kB / 0.5895 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 80.2 MB / 0.6678 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002561/0.1555, allocations: 1.425 MB / 0.6692 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004513/0.16, allocations: 2.885 MB / 0.672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.1601, allocations: 0 / 0.672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.1602, allocations: 0 / 0.672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.1602, allocations: 19.78 kB / 0.672 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003882/0.1641, allocations: 1.585 MB / 0.6735 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1642, allocations: 39.73 kB / 0.6736 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.1643, allocations: 11.98 kB / 0.6736 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.1643, allocations: 11.94 kB / 0.6736 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.1644, allocations: 23.86 kB / 0.6736 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.567e-06/0.1644, allocations: 0 / 0.6736 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.1668, allocations: 1.532 MB / 0.6751 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.1668, allocations: 3.984 kB / 0.6751 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.1669, allocations: 15.88 kB / 0.6751 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1684, allocations: 1.099 MB / 0.6762 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1684, allocations: 7.938 kB / 0.6762 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1684, allocations: 4 kB / 0.6762 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1684, allocations: 0 / 0.6762 GB, free: 1.109 MB / 0.4981 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.0006638/0.1691, allocations: 0.5324 MB / 0.6768 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1692, allocations: 12.03 kB / 0.6768 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.133e-05/0.1692, allocations: 106 kB / 0.6769 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1693, allocations: 80.17 kB / 0.6769 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1695, allocations: 251.6 kB / 0.6772 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.1696, allocations: 162.5 kB / 0.6773 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.1697, allocations: 154.5 kB / 0.6775 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.1698, allocations: 101 kB / 0.6776 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.1698, allocations: 75.28 kB / 0.6777 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.1699, allocations: 150.6 kB / 0.6778 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/0.1699, allocations: 150.6 kB / 0.6779 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.17, allocations: 162.5 kB / 0.6781 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1704, allocations: 469.8 kB / 0.6785 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1705, allocations: 165.1 kB / 0.6787 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.1705, allocations: 80.14 kB / 0.6788 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.1706, allocations: 83.28 kB / 0.6789 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.1707, allocations: 105.8 kB / 0.679 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1707, allocations: 0 / 0.679 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.467e-05/0.1708, allocations: 37.59 kB / 0.679 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.1708, allocations: 126.7 kB / 0.6791 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.171, allocations: 144.1 kB / 0.6793 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.171, allocations: 25.7 kB / 0.6793 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.1711, allocations: 88.14 kB / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.1711, allocations: 0 / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1711, allocations: 21.72 kB / 0.6794 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1713, allocations: 318.8 kB / 0.6797 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.1713, allocations: 8 kB / 0.6797 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.1713, allocations: 4 kB / 0.6797 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.1714, allocations: 16.86 kB / 0.6797 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1714, allocations: 0 / 0.6797 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.1715, allocations: 61.61 kB / 0.6798 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1716, allocations: 4 kB / 0.6798 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.1716, allocations: 4 kB / 0.6798 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1716, allocations: 0 / 0.6798 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-06/0.1716, allocations: 4.062 kB / 0.6798 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1716, allocations: 7.922 kB / 0.6798 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.1717, allocations: 4 kB / 0.6798 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1717, allocations: 0 / 0.6798 GB, free: 13.21 MB / 0.5137 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.0001184/0.1718, allocations: 185.1 kB / 0.68 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.1719, allocations: 124.9 kB / 0.6801 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.111e-05/0.172, allocations: 116.6 kB / 0.6802 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/0.172, allocations: 176.3 kB / 0.6804 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.023e-05/0.1721, allocations: 180.2 kB / 0.6805 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.1722, allocations: 180.2 kB / 0.6807 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1725, allocations: 421.2 kB / 0.6811 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/0.1726, allocations: 104.9 kB / 0.6812 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.1726, allocations: 105 kB / 0.6813 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/0.1727, allocations: 180.2 kB / 0.6815 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.1728, allocations: 180.2 kB / 0.6817 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.531e-05/0.1729, allocations: 180.3 kB / 0.6818 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.212e-05/0.173, allocations: 188.2 kB / 0.682 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1731, allocations: 311.6 kB / 0.6823 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1733, allocations: 186 kB / 0.6825 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.1734, allocations: 188.2 kB / 0.6827 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.1734, allocations: 105 kB / 0.6828 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.1735, allocations: 176.3 kB / 0.6829 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.1736, allocations: 108.9 kB / 0.683 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.1737, allocations: 105.9 kB / 0.6831 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1737, allocations: 0 / 0.6831 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007345/0.1744, allocations: 283 kB / 0.6834 GB, free: 9.285 MB / 0.5137 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.001461/0.1759, allocations: 1.182 MB / 0.6846 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.176, allocations: 45.62 kB / 0.6846 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.176, allocations: 4.062 kB / 0.6846 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.176, allocations: 368 / 0.6846 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1765, allocations: 459.7 kB / 0.685 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.178, allocations: 1.6 MB / 0.6866 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1783, allocations: 0.6924 MB / 0.6873 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.361e-05/0.1784, allocations: 0 / 0.6873 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.1784, allocations: 11.44 kB / 0.6873 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1784, allocations: 0 / 0.6873 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.2099, allocations: 7.04 MB / 0.6942 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.595, allocations: 21.69 kB / 0.6942 GB, free: 14.3 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.909276315942407] Failed to read output from testmodel.py, exit status != 0: 8.665571517078206 8.68239287 8.511211228 Calling exit ...