Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001492/0.001492, allocations: 113 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.001471/0.001471, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 8.012 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.8009/0.8009, allocations: 134 MB / 446.4 MB, free: 10.24 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",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.001865/0.001865, allocations: 62.38 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1599, allocations: 85.92 MB / 0.7025 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002748/0.1627, allocations: 1.45 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00489/0.1676, allocations: 2.935 MB / 0.7068 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.1676, allocations: 0 / 0.7068 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.1676, allocations: 3.938 kB / 0.7068 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.1677, allocations: 15.84 kB / 0.7068 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.1716, allocations: 1.682 MB / 0.7085 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.97e-05/0.1717, allocations: 43.67 kB / 0.7085 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1717, allocations: 4 kB / 0.7085 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.1717, allocations: 19.92 kB / 0.7085 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.988e-05/0.1718, allocations: 11.94 kB / 0.7085 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.1718, allocations: 0 / 0.7085 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.1744, allocations: 1.717 MB / 0.7102 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1744, allocations: 7.938 kB / 0.7102 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.1744, allocations: 19.92 kB / 0.7102 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.1763, allocations: 1.103 MB / 0.7113 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1763, allocations: 0 / 0.7113 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1763, allocations: 4 kB / 0.7113 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1763, allocations: 0 / 0.7113 GB, free: 8.324 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.000772/0.1771, allocations: 460.1 kB / 0.7118 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1772, allocations: 12.03 kB / 0.7118 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.1772, allocations: 114 kB / 0.7119 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.1773, allocations: 84.17 kB / 0.712 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1775, allocations: 201.6 kB / 0.7122 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.1776, allocations: 154.5 kB / 0.7123 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.1776, allocations: 150.6 kB / 0.7124 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.1777, allocations: 105 kB / 0.7125 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.1778, allocations: 79.28 kB / 0.7126 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.1778, allocations: 150.6 kB / 0.7128 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/0.1779, allocations: 154.6 kB / 0.7129 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.178, allocations: 158.5 kB / 0.7131 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1783, allocations: 440.9 kB / 0.7135 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1784, allocations: 165.1 kB / 0.7136 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.1785, allocations: 80.14 kB / 0.7137 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.1785, allocations: 75.28 kB / 0.7138 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.1786, allocations: 105.8 kB / 0.7139 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.1786, allocations: 4 kB / 0.7139 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.151e-05/0.1786, allocations: 41.58 kB / 0.7139 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.1787, allocations: 126.7 kB / 0.7141 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1789, allocations: 132.3 kB / 0.7142 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1789, allocations: 25.7 kB / 0.7142 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.1789, allocations: 88.14 kB / 0.7143 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.1789, allocations: 3.938 kB / 0.7143 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.179, allocations: 17.72 kB / 0.7143 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1791, allocations: 330.8 kB / 0.7146 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.1792, allocations: 3.938 kB / 0.7146 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.228e-05/0.1792, allocations: 4 kB / 0.7146 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.1792, allocations: 20.86 kB / 0.7147 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1792, allocations: 0 / 0.7147 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001273/0.1793, allocations: 49.58 kB / 0.7147 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1794, allocations: 4 kB / 0.7147 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.1794, allocations: 4 kB / 0.7147 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1794, allocations: 0 / 0.7147 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1794, allocations: 64 / 0.7147 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1794, allocations: 4 kB / 0.7147 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.1794, allocations: 4 kB / 0.7147 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1794, allocations: 0 / 0.7147 GB, free: 4.641 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.0001099/0.1795, allocations: 193 kB / 0.7149 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.1796, allocations: 108.9 kB / 0.715 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.1797, allocations: 108.7 kB / 0.7151 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-05/0.1798, allocations: 184.3 kB / 0.7153 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.874e-05/0.1798, allocations: 188.2 kB / 0.7155 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-05/0.1799, allocations: 176.3 kB / 0.7156 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1802, allocations: 388.2 kB / 0.716 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-05/0.1802, allocations: 101 kB / 0.7161 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.1803, allocations: 101 kB / 0.7162 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.89e-05/0.1804, allocations: 196.2 kB / 0.7164 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/0.1805, allocations: 176.3 kB / 0.7166 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.231e-05/0.1805, allocations: 180.2 kB / 0.7167 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.581e-05/0.1806, allocations: 180.3 kB / 0.7169 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1808, allocations: 323.6 kB / 0.7172 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.1808, allocations: 101 kB / 0.7173 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.1809, allocations: 188.2 kB / 0.7175 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.181, allocations: 101 kB / 0.7176 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1811, allocations: 176.3 kB / 0.7177 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.1812, allocations: 112.9 kB / 0.7179 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.1812, allocations: 105.6 kB / 0.718 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1812, allocations: 0 / 0.718 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000797/0.182, allocations: 287 kB / 0.7182 GB, free: 0.8477 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.001391/0.1834, allocations: 1.175 MB / 0.7194 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1835, allocations: 45.56 kB / 0.7194 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1835, allocations: 0 / 0.7194 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1835, allocations: 0 / 0.7194 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1839, allocations: 463.8 kB / 0.7199 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1854, allocations: 1.594 MB / 0.7214 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1857, allocations: 0.6846 MB / 0.7221 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.1858, allocations: 4 kB / 0.7221 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1858, allocations: 15.44 kB / 0.7221 GB, free: 12.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1858, allocations: 0 / 0.7221 GB, free: 12.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.2216, allocations: 7.111 MB / 0.729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.46, allocations: 6.344 kB / 0.7291 GB, free: 5.797 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.844561889069155] Failed to read output from testmodel.py, exit status != 0: 11.567731851013377 11.592153821 11.411394471 Calling exit ...