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.001262/0.001262, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001463/0.001463, allocations: 213.3 kB / 22.24 MB, free: 5.242 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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.7877/0.7877, allocations: 134 MB / 446.4 MB, free: 9.945 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="me",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="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.001956/0.001956, allocations: 64.33 kB / 0.6186 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1555, allocations: 85.91 MB / 0.7025 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002475/0.158, allocations: 1.421 MB / 0.7038 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004242/0.1622, allocations: 2.616 MB / 0.7064 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.1623, allocations: 0 / 0.7064 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1623, allocations: 0 / 0.7064 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.1624, allocations: 11.86 kB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.1662, allocations: 1.616 MB / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.1663, allocations: 43.67 kB / 0.708 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1664, allocations: 7.984 kB / 0.708 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.1664, allocations: 15.94 kB / 0.7081 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.056e-05/0.1664, allocations: 19.92 kB / 0.7081 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.1664, allocations: 0 / 0.7081 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.1687, allocations: 1.439 MB / 0.7095 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.1687, allocations: 3.938 kB / 0.7095 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1688, allocations: 15.94 kB / 0.7095 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.1702, allocations: 1.064 MB / 0.7105 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1703, allocations: 4 kB / 0.7105 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1703, allocations: 4 kB / 0.7105 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1703, allocations: 4 kB / 0.7105 GB, free: 8.73 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.0005946/0.1709, allocations: 464.1 kB / 0.711 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1709, allocations: 8.031 kB / 0.711 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/0.171, allocations: 106 kB / 0.7111 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.171, allocations: 84.17 kB / 0.7112 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1712, allocations: 193.7 kB / 0.7114 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.1713, allocations: 158.5 kB / 0.7115 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.1713, allocations: 154.6 kB / 0.7117 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.1714, allocations: 108.9 kB / 0.7118 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.1714, allocations: 75.28 kB / 0.7118 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.1715, allocations: 150.6 kB / 0.712 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.1716, allocations: 158.6 kB / 0.7121 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.1716, allocations: 154.6 kB / 0.7123 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.172, allocations: 433 kB / 0.7127 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1721, allocations: 169.1 kB / 0.7129 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.1721, allocations: 80.14 kB / 0.7129 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.1721, allocations: 83.27 kB / 0.713 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/0.1722, allocations: 105.8 kB / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1722, allocations: 0 / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.738e-05/0.1723, allocations: 33.66 kB / 0.7131 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.1724, allocations: 126.7 kB / 0.7133 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1725, allocations: 140 kB / 0.7134 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1725, allocations: 25.7 kB / 0.7134 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.1726, allocations: 92.14 kB / 0.7135 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1726, allocations: 0 / 0.7135 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.1726, allocations: 17.7 kB / 0.7135 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1728, allocations: 322.8 kB / 0.7138 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.1728, allocations: 48 / 0.7138 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.1728, allocations: 7.984 kB / 0.7138 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.1729, allocations: 20.86 kB / 0.7139 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1729, allocations: 0 / 0.7139 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.173, allocations: 41.72 kB / 0.7139 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.173, allocations: 8 kB / 0.7139 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.173, allocations: 4 kB / 0.7139 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.173, allocations: 7.922 kB / 0.7139 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.173, allocations: 0 / 0.7139 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.173, allocations: 0 / 0.7139 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.1731, allocations: 15.89 kB / 0.7139 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1731, allocations: 0 / 0.7139 GB, free: 5.051 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.0001146/0.1732, allocations: 185.1 kB / 0.7141 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.1733, allocations: 105 kB / 0.7142 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.1733, allocations: 116.7 kB / 0.7143 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-05/0.1734, allocations: 180.3 kB / 0.7145 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.142e-05/0.1735, allocations: 184.2 kB / 0.7147 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.498e-05/0.1736, allocations: 184.2 kB / 0.7148 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1738, allocations: 384.2 kB / 0.7152 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.596e-05/0.1739, allocations: 108.9 kB / 0.7153 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.1739, allocations: 105 kB / 0.7154 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-05/0.174, allocations: 184.3 kB / 0.7156 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/0.1741, allocations: 180.2 kB / 0.7158 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.987e-05/0.1742, allocations: 176.3 kB / 0.7159 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.682e-05/0.1742, allocations: 184.2 kB / 0.7161 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1744, allocations: 315.7 kB / 0.7164 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1745, allocations: 112.9 kB / 0.7165 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/0.1746, allocations: 180.3 kB / 0.7167 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.1747, allocations: 112.9 kB / 0.7168 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.1747, allocations: 180.3 kB / 0.717 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.1748, allocations: 105 kB / 0.7171 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.1748, allocations: 95.27 kB / 0.7172 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1748, allocations: 0 / 0.7172 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007501/0.1756, allocations: 294.9 kB / 0.7174 GB, free: 1.258 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.001346/0.1769, allocations: 1.186 MB / 0.7186 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.177, allocations: 33.7 kB / 0.7186 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.177, allocations: 0 / 0.7186 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.177, allocations: 3.938 kB / 0.7186 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1775, allocations: 465.7 kB / 0.7191 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1789, allocations: 1.59 MB / 0.7206 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.85e-05/0.179, allocations: 75.31 kB / 0.7207 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.179, allocations: 0 / 0.7207 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.179, allocations: 11.44 kB / 0.7207 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.179, allocations: 0 / 0.7207 GB, free: 13.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.2167, allocations: 7.582 MB / 0.7281 GB, free: 6.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.58, allocations: 11.23 kB / 0.7281 GB, free: 6.371 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: 14.904750355985016] Failed to read output from testmodel.py, exit status != 0: 11.68516657082364 11.701546347 11.528217324 Calling exit ...