Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001739/0.001739, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002173/0.002173, allocations: 214.6 kB / 22.25 MB, free: 5.117 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.657/1.657, 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.8453/0.8453, allocations: 134 MB / 446.4 MB, free: 10.25 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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.00209/0.00209, allocations: 76.14 kB / 0.6186 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1873, allocations: 85.9 MB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005426/0.1928, allocations: 3.081 MB / 0.7055 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004327/0.1971, allocations: 2.191 MB / 0.7076 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/0.1977, allocations: 11.94 kB / 0.7076 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.2, allocations: 0.4938 MB / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.2008, allocations: 154.9 kB / 0.7083 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2011, allocations: 63.88 kB / 0.7083 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008826/0.202, allocations: 445.9 kB / 0.7088 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.2023, allocations: 107.8 kB / 0.7089 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.2027, allocations: 171.3 kB / 0.709 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.2031, allocations: 179.2 kB / 0.7092 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.216e-05/0.2032, allocations: 40 kB / 0.7092 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.2033, allocations: 36 kB / 0.7093 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2035, allocations: 103.6 kB / 0.7094 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.2037, allocations: 215 kB / 0.7096 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.2045, allocations: 0.5486 MB / 0.7101 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2045, allocations: 0 / 0.7101 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2045, allocations: 0 / 0.7101 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.2045, allocations: 0 / 0.7101 GB, free: 9.551 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001384/0.2059, allocations: 0.6445 MB / 0.7107 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2059, allocations: 12.62 kB / 0.7108 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.206, allocations: 54.72 kB / 0.7108 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.2061, allocations: 48.66 kB / 0.7109 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/0.2069, allocations: 320.6 kB / 0.7112 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.2069, allocations: 24.56 kB / 0.7112 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.2069, allocations: 23.94 kB / 0.7112 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.2074, allocations: 199.3 kB / 0.7114 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2074, allocations: 0 / 0.7114 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2074, allocations: 12 kB / 0.7114 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2075, allocations: 7.984 kB / 0.7114 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.2079, allocations: 161.6 kB / 0.7116 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2094, allocations: 0.8278 MB / 0.7124 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2097, allocations: 144.4 kB / 0.7125 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.21, allocations: 108.8 kB / 0.7126 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.21, allocations: 3.938 kB / 0.7126 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.21, allocations: 34.56 kB / 0.7127 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.21, allocations: 0 / 0.7127 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006822/0.2107, allocations: 252.1 kB / 0.7129 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2108, allocations: 55.34 kB / 0.7129 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.2113, allocations: 425.7 kB / 0.7134 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2114, allocations: 29.7 kB / 0.7134 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2116, allocations: 204.4 kB / 0.7136 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.2116, allocations: 67.42 kB / 0.7136 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.2117, allocations: 33.72 kB / 0.7137 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2119, allocations: 346.8 kB / 0.714 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2121, allocations: 51.97 kB / 0.7141 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2122, allocations: 70.36 kB / 0.7141 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2125, allocations: 124.8 kB / 0.7142 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2125, allocations: 0 / 0.7142 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004376/0.2129, allocations: 211.7 kB / 0.7144 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.213, allocations: 4 kB / 0.7144 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.213, allocations: 3.938 kB / 0.7144 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.213, allocations: 8 kB / 0.7145 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.2133, allocations: 55.95 kB / 0.7145 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2133, allocations: 0 / 0.7145 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.2134, allocations: 19.84 kB / 0.7145 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2134, allocations: 11.94 kB / 0.7145 GB, free: 4.809 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001953/0.2136, allocations: 165.8 kB / 0.7147 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.2137, allocations: 39.7 kB / 0.7147 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.2138, allocations: 47.52 kB / 0.7148 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2138, allocations: 4 kB / 0.7148 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.2138, allocations: 4 kB / 0.7148 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2138, allocations: 0 / 0.7148 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.2143, allocations: 348.4 kB / 0.7151 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2143, allocations: 3.938 kB / 0.7151 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.2146, allocations: 51.95 kB / 0.7152 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2146, allocations: 4 kB / 0.7152 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2146, allocations: 7.938 kB / 0.7152 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2146, allocations: 0 / 0.7152 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2146, allocations: 4 kB / 0.7152 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.2153, allocations: 379.1 kB / 0.7155 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2154, allocations: 47.72 kB / 0.7156 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.2155, allocations: 3.984 kB / 0.7156 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.2156, allocations: 12 kB / 0.7156 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2157, allocations: 16.03 kB / 0.7156 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2157, allocations: 0 / 0.7156 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003993/0.2161, allocations: 303.2 kB / 0.7159 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2161, allocations: 0 / 0.7159 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003643/0.2165, allocations: 71.89 kB / 0.716 GB, free: 3.254 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001117/0.2176, allocations: 0.9289 MB / 0.7169 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.218, allocations: 135.8 kB / 0.717 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.218, allocations: 0 / 0.717 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2182, allocations: 75.91 kB / 0.7171 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.2188, allocations: 96.53 kB / 0.7172 GB, free: 2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.2245, allocations: 3.492 MB / 0.7206 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.2251, allocations: 0.8067 MB / 0.7214 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.2252, allocations: 30.97 kB / 0.7214 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.2254, allocations: 115.4 kB / 0.7215 GB, free: 13.45 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.2254, allocations: 0 / 0.7215 GB, free: 13.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.2779, allocations: 8.172 MB / 0.7295 GB, free: 5.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.8, allocations: 8.547 kB / 0.7295 GB, free: 5.512 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.67448563897051] Failed to read output from testmodel.py, exit status != 0: 11.903992034029216 11.919320399 11.711679619 Calling exit ...