Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.00159/0.00159, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001938/0.001938, allocations: 211.4 kB / 23.03 MB, free: 4.926 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7921/0.7921, allocations: 134 MB / 447.2 MB, free: 9.949 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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001763/0.001763, allocations: 65.98 kB / 0.6193 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1588, allocations: 85.9 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002372/0.1612, allocations: 1.422 MB / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.1653, allocations: 2.612 MB / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.1654, allocations: 0 / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1654, allocations: 7.922 kB / 0.7072 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.1654, allocations: 19.86 kB / 0.7072 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.1692, allocations: 1.628 MB / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.86e-05/0.1692, allocations: 39.69 kB / 0.7088 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.1693, allocations: 7.984 kB / 0.7088 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.1693, allocations: 15.94 kB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.1693, allocations: 15.88 kB / 0.7088 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.1693, allocations: 0 / 0.7088 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.1716, allocations: 1.544 MB / 0.7104 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1716, allocations: 3.984 kB / 0.7104 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.1716, allocations: 23.86 kB / 0.7104 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.173, allocations: 1.068 MB / 0.7114 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.173, allocations: 0 / 0.7114 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.173, allocations: 0 / 0.7114 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.173, allocations: 0 / 0.7114 GB, free: 8.641 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.000565/0.1736, allocations: 468.1 kB / 0.7119 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1736, allocations: 8.031 kB / 0.7119 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.573e-05/0.1737, allocations: 75.47 kB / 0.7119 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.1737, allocations: 106 kB / 0.712 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1738, allocations: 84.17 kB / 0.7121 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.174, allocations: 193.5 kB / 0.7123 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.174, allocations: 158.6 kB / 0.7125 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.1741, allocations: 158.5 kB / 0.7126 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.987e-05/0.1742, allocations: 101 kB / 0.7127 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.1742, allocations: 75.28 kB / 0.7128 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.1743, allocations: 154.6 kB / 0.7129 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.1743, allocations: 158.5 kB / 0.7131 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.1744, allocations: 150.6 kB / 0.7132 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.1747, allocations: 437 kB / 0.7136 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.1748, allocations: 173.1 kB / 0.7138 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.1749, allocations: 80.14 kB / 0.7139 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1749, allocations: 79.28 kB / 0.714 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.1749, allocations: 109.8 kB / 0.7141 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.1749, allocations: 7.938 kB / 0.7141 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.176e-05/0.175, allocations: 37.58 kB / 0.7141 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.1751, allocations: 126.7 kB / 0.7142 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1752, allocations: 132.5 kB / 0.7144 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1752, allocations: 25.7 kB / 0.7144 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1753, allocations: 88.14 kB / 0.7145 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1753, allocations: 0 / 0.7145 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1753, allocations: 17.72 kB / 0.7145 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1755, allocations: 326.8 kB / 0.7148 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.1755, allocations: 8 kB / 0.7148 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.1755, allocations: 8 kB / 0.7148 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.1755, allocations: 8.859 kB / 0.7148 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1755, allocations: 3.938 kB / 0.7148 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00012/0.1757, allocations: 53.58 kB / 0.7149 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1757, allocations: 8 kB / 0.7149 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1757, allocations: 0 / 0.7149 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1757, allocations: 4 kB / 0.7149 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1757, allocations: 0 / 0.7149 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1757, allocations: 0 / 0.7149 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.1757, allocations: 8.016 kB / 0.7149 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1757, allocations: 0 / 0.7149 GB, free: 4.879 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.000119/0.1759, allocations: 193 kB / 0.7151 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.1759, allocations: 105 kB / 0.7152 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.176, allocations: 112.7 kB / 0.7153 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-05/0.1761, allocations: 180.3 kB / 0.7155 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-05/0.1762, allocations: 184.2 kB / 0.7156 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.337e-05/0.1762, allocations: 176.3 kB / 0.7158 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.1765, allocations: 388.2 kB / 0.7162 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.357e-05/0.1765, allocations: 104.9 kB / 0.7163 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.1766, allocations: 109 kB / 0.7164 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.369e-05/0.1767, allocations: 184.2 kB / 0.7165 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.1768, allocations: 176.3 kB / 0.7167 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.248e-05/0.1768, allocations: 184.2 kB / 0.7169 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.098e-05/0.1769, allocations: 180.2 kB / 0.7171 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.1771, allocations: 319.6 kB / 0.7174 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.1771, allocations: 108.9 kB / 0.7175 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.1772, allocations: 188.2 kB / 0.7177 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1773, allocations: 104.9 kB / 0.7178 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.1774, allocations: 176.3 kB / 0.7179 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.1775, allocations: 116.9 kB / 0.718 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.1775, allocations: 99.27 kB / 0.7181 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1775, allocations: 0 / 0.7181 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006878/0.1782, allocations: 291 kB / 0.7184 GB, free: 1.078 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.001334/0.1795, allocations: 1.17 MB / 0.7195 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.1796, allocations: 45.62 kB / 0.7196 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1796, allocations: 0 / 0.7196 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1796, allocations: 4.062 kB / 0.7196 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.18, allocations: 467.7 kB / 0.72 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1815, allocations: 1.596 MB / 0.7216 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.712e-05/0.1816, allocations: 67.33 kB / 0.7217 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.309e-05/0.1816, allocations: 4 kB / 0.7217 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1816, allocations: 11.44 kB / 0.7217 GB, free: 13.59 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1816, allocations: 4.031 kB / 0.7217 GB, free: 13.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.2093, allocations: 7.229 MB / 0.7287 GB, free: 6.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.02, allocations: 4.062 kB / 0.7287 GB, free: 6.555 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.570053455070592] Failed to read output from testmodel.py, exit status != 0: 12.178022842039354 12.204487489 12.026831146 Calling exit ...