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.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.001515/0.001515, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001563/0.001563, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8454/0.8454, allocations: 133.9 MB / 443.5 MB, free: 14.15 MB / 350.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.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001927/0.001927, allocations: 67.03 kB / 0.6142 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1429, allocations: 85.86 MB / 0.698 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002557/0.1455, allocations: 1.454 MB / 0.6994 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.15, allocations: 2.958 MB / 0.7023 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.15, allocations: 0 / 0.7023 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.1501, allocations: 7.922 kB / 0.7023 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.1501, allocations: 13.98 kB / 0.7024 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.1541, allocations: 1.644 MB / 0.704 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.1542, allocations: 39.69 kB / 0.704 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.1543, allocations: 11.97 kB / 0.704 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.1543, allocations: 15.94 kB / 0.704 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.1544, allocations: 15.94 kB / 0.704 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1544, allocations: 0 / 0.704 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.1568, allocations: 1.591 MB / 0.7056 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1568, allocations: 7.922 kB / 0.7056 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.1569, allocations: 23.86 kB / 0.7056 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.1585, allocations: 1.109 MB / 0.7067 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1585, allocations: 3.938 kB / 0.7067 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.467e-06/0.1585, allocations: 7.938 kB / 0.7067 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1585, allocations: 0 / 0.7067 GB, free: 6.098 MB / 0.5137 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.0007213/0.1592, allocations: 0.5403 MB / 0.7072 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1592, allocations: 8.625 kB / 0.7073 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.823e-05/0.1593, allocations: 79.41 kB / 0.7073 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.1593, allocations: 106 kB / 0.7074 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.1594, allocations: 84.17 kB / 0.7075 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1596, allocations: 256.7 kB / 0.7078 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.1597, allocations: 158.5 kB / 0.7079 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.1598, allocations: 150.6 kB / 0.708 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.842e-05/0.1598, allocations: 101 kB / 0.7081 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.1599, allocations: 79.28 kB / 0.7082 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.1599, allocations: 154.6 kB / 0.7084 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/0.16, allocations: 154.6 kB / 0.7085 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.1601, allocations: 158.6 kB / 0.7087 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1604, allocations: 469.8 kB / 0.7091 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/0.1605, allocations: 169.1 kB / 0.7093 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.1606, allocations: 80.14 kB / 0.7094 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.1606, allocations: 79.28 kB / 0.7094 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/0.1607, allocations: 109.8 kB / 0.7095 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.1607, allocations: 3.984 kB / 0.7095 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.671e-05/0.1607, allocations: 33.59 kB / 0.7096 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.1608, allocations: 138.7 kB / 0.7097 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.161, allocations: 127.7 kB / 0.7098 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.161, allocations: 29.7 kB / 0.7098 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.161, allocations: 96.09 kB / 0.7099 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.161, allocations: 0 / 0.7099 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.1611, allocations: 17.7 kB / 0.71 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1612, allocations: 318.8 kB / 0.7103 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.1612, allocations: 8 kB / 0.7103 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.1613, allocations: 4 kB / 0.7103 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.1613, allocations: 20.84 kB / 0.7103 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1613, allocations: 4.031 kB / 0.7103 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001201/0.1614, allocations: 45.64 kB / 0.7103 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1614, allocations: 8 kB / 0.7103 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.1615, allocations: 0 / 0.7103 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1615, allocations: 4 kB / 0.7104 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.1615, allocations: 0 / 0.7104 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1615, allocations: 0 / 0.7104 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1615, allocations: 3.953 kB / 0.7104 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1615, allocations: 3.938 kB / 0.7104 GB, free: 2.117 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.0001176/0.1616, allocations: 201.7 kB / 0.7106 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.1617, allocations: 104.9 kB / 0.7107 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.1617, allocations: 116.8 kB / 0.7108 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/0.1618, allocations: 176.3 kB / 0.7109 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.572e-05/0.1619, allocations: 188.2 kB / 0.7111 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.916e-05/0.162, allocations: 176.3 kB / 0.7113 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1623, allocations: 417.2 kB / 0.7117 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.043e-05/0.1623, allocations: 108.9 kB / 0.7118 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.1623, allocations: 101 kB / 0.7119 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-05/0.1624, allocations: 184.2 kB / 0.7121 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.1625, allocations: 180.3 kB / 0.7122 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.1626, allocations: 188.3 kB / 0.7124 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.005e-05/0.1627, allocations: 180.2 kB / 0.7126 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1628, allocations: 311.7 kB / 0.7129 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.1629, allocations: 186 kB / 0.7131 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.163, allocations: 176.3 kB / 0.7132 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.1631, allocations: 112.9 kB / 0.7133 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.1632, allocations: 184.2 kB / 0.7135 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.1632, allocations: 104.9 kB / 0.7136 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.1633, allocations: 96.67 kB / 0.7137 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1633, allocations: 0 / 0.7137 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000796/0.1641, allocations: 299 kB / 0.714 GB, free: 14.18 MB / 0.5294 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.001462/0.1656, allocations: 1.186 MB / 0.7151 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.1657, allocations: 45.64 kB / 0.7152 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1657, allocations: 0 / 0.7152 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1657, allocations: 0 / 0.7152 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.1661, allocations: 464.6 kB / 0.7156 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1677, allocations: 1.611 MB / 0.7172 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.168, allocations: 0.6883 MB / 0.7179 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.168, allocations: 0 / 0.7179 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.168, allocations: 11.44 kB / 0.7179 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.168, allocations: 4 kB / 0.7179 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1935, allocations: 7.341 MB / 0.7251 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.699, allocations: 9.453 kB / 0.7251 GB, free: 2.934 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: 12.265788130986039] Failed to read output from testmodel.py, exit status != 0: 9.060671830025967 8.839166236 8.677611604 Calling exit ...