Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001817/0.001817, allocations: 97.31 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.002548/0.002548, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.495/1.495, 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.833/0.833, allocations: 134 MB / 447.2 MB, free: 9.902 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.001959/0.001959, allocations: 70.03 kB / 0.6193 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1871, allocations: 85.91 MB / 0.7032 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006138/0.1932, allocations: 3.786 MB / 0.7069 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.1974, allocations: 2.211 MB / 0.709 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.198, allocations: 12 kB / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.2001, allocations: 0.4897 MB / 0.7095 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008679/0.2009, allocations: 246 kB / 0.7098 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.2013, allocations: 143.8 kB / 0.7099 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2025, allocations: 0.8097 MB / 0.7107 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.203, allocations: 239 kB / 0.7109 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.2037, allocations: 314.9 kB / 0.7112 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.2043, allocations: 330.6 kB / 0.7115 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.2044, allocations: 76 kB / 0.7116 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2046, allocations: 76 kB / 0.7117 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.2048, allocations: 167.5 kB / 0.7118 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000495/0.2053, allocations: 314.6 kB / 0.7121 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2065, allocations: 1 MB / 0.7131 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.2065, allocations: 4 kB / 0.7131 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2065, allocations: 0 / 0.7131 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.485e-05/0.2065, allocations: 0 / 0.7131 GB, free: 6.824 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001684/0.2082, allocations: 0.8937 MB / 0.714 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.2083, allocations: 12.62 kB / 0.714 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.511e-05/0.2083, allocations: 17.19 kB / 0.714 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.536e-05/0.2084, allocations: 90.7 kB / 0.7141 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2085, allocations: 76.47 kB / 0.7142 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.2092, allocations: 400.2 kB / 0.7146 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.2093, allocations: 36.94 kB / 0.7146 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.2094, allocations: 51.98 kB / 0.7147 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.2102, allocations: 430.5 kB / 0.7151 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2102, allocations: 3.953 kB / 0.7151 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.2102, allocations: 20 kB / 0.7151 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.2103, allocations: 16 kB / 0.7151 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.211, allocations: 363.8 kB / 0.7155 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.2132, allocations: 1.265 MB / 0.7167 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.2137, allocations: 313.4 kB / 0.717 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.2142, allocations: 284.5 kB / 0.7173 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2143, allocations: 4 kB / 0.7173 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2143, allocations: 34.56 kB / 0.7173 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.364e-06/0.2143, allocations: 8 kB / 0.7173 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001082/0.2154, allocations: 0.4907 MB / 0.7178 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.2154, allocations: 55.41 kB / 0.7178 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.2161, allocations: 485.9 kB / 0.7183 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2161, allocations: 29.7 kB / 0.7183 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.2163, allocations: 280.7 kB / 0.7186 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2165, allocations: 154.6 kB / 0.7187 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2166, allocations: 62.84 kB / 0.7188 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2168, allocations: 366.7 kB / 0.7191 GB, free: 468 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.2171, allocations: 124.7 kB / 0.7193 GB, free: 344 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.2173, allocations: 129.2 kB / 0.7194 GB, free: 216 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.2179, allocations: 298.2 kB / 0.7197 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2179, allocations: 0 / 0.7197 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006886/0.2186, allocations: 396.8 kB / 0.7201 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2186, allocations: 7.938 kB / 0.7201 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2186, allocations: 0 / 0.7201 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2186, allocations: 4 kB / 0.7201 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.2191, allocations: 123.9 kB / 0.7202 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2191, allocations: 0 / 0.7202 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.2194, allocations: 35.72 kB / 0.7202 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2194, allocations: 12 kB / 0.7202 GB, free: 15.34 MB / 0.545 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 (46): * Single equations (assignments): 46 * 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.0002564/0.2197, allocations: 205.7 kB / 0.7204 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.2198, allocations: 51.67 kB / 0.7205 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2199, allocations: 57.11 kB / 0.7205 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2199, allocations: 4 kB / 0.7205 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.2199, allocations: 0 / 0.7205 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2199, allocations: 3.984 kB / 0.7205 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.2206, allocations: 496 kB / 0.721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2206, allocations: 0 / 0.721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.2211, allocations: 123.9 kB / 0.7211 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.2211, allocations: 8 kB / 0.7211 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.2212, allocations: 7.984 kB / 0.7211 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2212, allocations: 4 kB / 0.7211 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2212, allocations: 0 / 0.7211 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2222, allocations: 0.6433 MB / 0.7218 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2223, allocations: 63.62 kB / 0.7218 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2224, allocations: 12 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2226, allocations: 12 kB / 0.7219 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.2227, allocations: 31.89 kB / 0.7219 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2227, allocations: 11.98 kB / 0.7219 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004398/0.2231, allocations: 355.1 kB / 0.7222 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2231, allocations: 0 / 0.7222 GB, free: 13.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004313/0.2236, allocations: 151.7 kB / 0.7224 GB, free: 13.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001419/0.225, allocations: 1.212 MB / 0.7236 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.2256, allocations: 307.4 kB / 0.7239 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2256, allocations: 0 / 0.7239 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.2259, allocations: 167.8 kB / 0.724 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.2267, allocations: 131.2 kB / 0.7241 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.2337, allocations: 4.852 MB / 0.7289 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.234, allocations: 275 kB / 0.7291 GB, free: 6.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.2343, allocations: 56.38 kB / 0.7292 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.2346, allocations: 191.4 kB / 0.7294 GB, free: 5.766 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/0.2346, allocations: 3.938 kB / 0.7294 GB, free: 5.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/0.2759, allocations: 12.33 MB / 0.7414 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.22, allocations: 8 kB / 0.7414 GB, free: 9.75 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.39493762992788] Failed to read output from testmodel.py, exit status != 0: 12.377029860042967 12.67647339 12.466810103 Calling exit ...