Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001245/0.001245, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001379/0.001379, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.7997/0.7997, allocations: 134 MB / 447.2 MB, free: 10.2 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001869/0.001869, allocations: 63.03 kB / 0.6194 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 85.91 MB / 0.7033 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002507/0.156, allocations: 1.465 MB / 0.7047 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.1604, allocations: 2.981 MB / 0.7076 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.1604, allocations: 0 / 0.7076 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.1605, allocations: 7.875 kB / 0.7076 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.1605, allocations: 15.84 kB / 0.7076 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.1645, allocations: 1.7 MB / 0.7093 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.1646, allocations: 43.69 kB / 0.7094 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1646, allocations: 7.984 kB / 0.7094 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.1646, allocations: 15.92 kB / 0.7094 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.68e-05/0.1647, allocations: 15.94 kB / 0.7094 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.1647, allocations: 0 / 0.7094 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.1672, allocations: 1.76 MB / 0.7111 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.1672, allocations: 3.938 kB / 0.7111 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.1673, allocations: 19.88 kB / 0.7111 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1688, allocations: 1.13 MB / 0.7122 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1688, allocations: 0 / 0.7122 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1688, allocations: 0 / 0.7122 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1688, allocations: 0 / 0.7122 GB, free: 8.148 MB / 0.5294 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.0006234/0.1694, allocations: 480 kB / 0.7127 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1695, allocations: 12.03 kB / 0.7127 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.216e-05/0.1695, allocations: 75.47 kB / 0.7128 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.1696, allocations: 110 kB / 0.7129 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.1696, allocations: 84.11 kB / 0.713 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1698, allocations: 197.5 kB / 0.7131 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.1699, allocations: 154.6 kB / 0.7133 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.1699, allocations: 154.5 kB / 0.7134 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.807e-05/0.17, allocations: 105 kB / 0.7135 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.17, allocations: 75.28 kB / 0.7136 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.1701, allocations: 150.6 kB / 0.7138 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.1701, allocations: 154.6 kB / 0.7139 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.1702, allocations: 162.5 kB / 0.7141 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.1705, allocations: 440.9 kB / 0.7145 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.1706, allocations: 165.1 kB / 0.7146 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.1706, allocations: 80.14 kB / 0.7147 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1706, allocations: 79.28 kB / 0.7148 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.1707, allocations: 117.8 kB / 0.7149 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.1707, allocations: 0 / 0.7149 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.222e-05/0.1708, allocations: 29.7 kB / 0.7149 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.1708, allocations: 130.7 kB / 0.7151 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.171, allocations: 132 kB / 0.7152 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.171, allocations: 33.7 kB / 0.7152 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.1711, allocations: 96.08 kB / 0.7153 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.1711, allocations: 0 / 0.7153 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1711, allocations: 17.72 kB / 0.7153 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1712, allocations: 318.8 kB / 0.7156 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.1712, allocations: 8 kB / 0.7156 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.1713, allocations: 4 kB / 0.7156 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.1713, allocations: 20.8 kB / 0.7157 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1713, allocations: 0 / 0.7157 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001227/0.1714, allocations: 53.7 kB / 0.7157 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1714, allocations: 8 kB / 0.7157 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.1714, allocations: 0 / 0.7157 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1715, allocations: 0 / 0.7157 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1715, allocations: 4 kB / 0.7157 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1715, allocations: 0 / 0.7157 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.1715, allocations: 3.953 kB / 0.7157 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1715, allocations: 0 / 0.7157 GB, free: 4.363 MB / 0.5294 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.0001072/0.1716, allocations: 193.1 kB / 0.7159 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.1717, allocations: 108.9 kB / 0.716 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.1717, allocations: 116.8 kB / 0.7161 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/0.1718, allocations: 176.3 kB / 0.7163 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.995e-05/0.1719, allocations: 184.1 kB / 0.7165 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.625e-05/0.1719, allocations: 180.3 kB / 0.7166 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1722, allocations: 400.2 kB / 0.717 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/0.1722, allocations: 104.9 kB / 0.7171 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.1722, allocations: 101 kB / 0.7172 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.605e-05/0.1723, allocations: 180.2 kB / 0.7174 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/0.1724, allocations: 180.3 kB / 0.7176 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.116e-05/0.1725, allocations: 192.2 kB / 0.7177 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.701e-05/0.1725, allocations: 180.3 kB / 0.7179 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.1727, allocations: 303.7 kB / 0.7182 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1727, allocations: 116.9 kB / 0.7183 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/0.1728, allocations: 184.2 kB / 0.7185 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.1729, allocations: 105 kB / 0.7186 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.173, allocations: 184.2 kB / 0.7188 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.173, allocations: 101 kB / 0.7189 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.1731, allocations: 99.27 kB / 0.719 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1731, allocations: 0 / 0.719 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00075/0.1738, allocations: 298.9 kB / 0.7192 GB, free: 0.5547 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.001401/0.1752, allocations: 1.186 MB / 0.7204 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.1753, allocations: 41.69 kB / 0.7204 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1753, allocations: 4 kB / 0.7204 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.1753, allocations: 0 / 0.7204 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1757, allocations: 465.4 kB / 0.7209 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1772, allocations: 1.616 MB / 0.7225 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1774, allocations: 0.6884 MB / 0.7231 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.1775, allocations: 0 / 0.7231 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1775, allocations: 11.44 kB / 0.7232 GB, free: 12.42 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.1775, allocations: 0 / 0.7232 GB, free: 12.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.2058, allocations: 7.348 MB / 0.7303 GB, free: 5.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.42, allocations: 19.72 kB / 0.7303 GB, free: 5.246 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.905269630020484] Failed to read output from testmodel.py, exit status != 0: 11.582677550031804 11.60886275 11.435278984 Calling exit ...