Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001566/0.001566, allocations: 119 kB / 19.69 MB, free: 2.199 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.001719/0.001719, allocations: 225.8 kB / 23.01 MB, free: 5.047 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9502/0.9502, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002012/0.002012, allocations: 68.36 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1703, allocations: 89.17 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005827/0.1761, allocations: 4.179 MB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003927/0.18, allocations: 2.471 MB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/0.1805, allocations: 12 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.1823, allocations: 0.5676 MB / 0.7355 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006749/0.183, allocations: 242 kB / 0.7357 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1833, allocations: 135.9 kB / 0.7358 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1844, allocations: 0.8053 MB / 0.7366 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.1849, allocations: 235 kB / 0.7368 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.1854, allocations: 314.9 kB / 0.7371 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.1859, allocations: 326.6 kB / 0.7374 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1861, allocations: 76 kB / 0.7375 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1862, allocations: 75.94 kB / 0.7376 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1864, allocations: 175.4 kB / 0.7378 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.1869, allocations: 382.2 kB / 0.7381 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.188, allocations: 0.9962 MB / 0.7391 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.188, allocations: 0 / 0.7391 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.188, allocations: 0 / 0.7391 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.188, allocations: 4 kB / 0.7391 GB, free: 6.211 MB / 0.5606 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.001874/0.1899, allocations: 0.886 MB / 0.74 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.19, allocations: 12.03 kB / 0.74 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.1901, allocations: 90.7 kB / 0.7401 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1902, allocations: 80.47 kB / 0.7401 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.191, allocations: 404.1 kB / 0.7405 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.191, allocations: 45.12 kB / 0.7406 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.1911, allocations: 48 kB / 0.7406 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.1919, allocations: 418.5 kB / 0.741 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.1919, allocations: 4 kB / 0.741 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.1919, allocations: 16 kB / 0.741 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1919, allocations: 15.94 kB / 0.741 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.1927, allocations: 367.8 kB / 0.7414 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.195, allocations: 1.48 MB / 0.7428 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.1955, allocations: 306.9 kB / 0.7431 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.196, allocations: 292.7 kB / 0.7434 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.196, allocations: 4 kB / 0.7434 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1961, allocations: 36.02 kB / 0.7435 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.1961, allocations: 0 / 0.7435 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009885/0.197, allocations: 0.4888 MB / 0.7439 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1971, allocations: 55.41 kB / 0.744 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.1977, allocations: 489.9 kB / 0.7444 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1977, allocations: 33.7 kB / 0.7445 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1979, allocations: 276.7 kB / 0.7447 GB, free: 232 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1981, allocations: 158.6 kB / 0.7449 GB, free: 72 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/0.1982, allocations: 62.08 kB / 0.745 GB, free: 0 / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1984, allocations: 358.8 kB / 0.7453 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1986, allocations: 124.6 kB / 0.7454 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.1989, allocations: 129.5 kB / 0.7455 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.1994, allocations: 305.9 kB / 0.7458 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1994, allocations: 0 / 0.7458 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000672/0.2001, allocations: 392.5 kB / 0.7462 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2001, allocations: 4 kB / 0.7462 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2001, allocations: 0 / 0.7462 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2001, allocations: 4 kB / 0.7462 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.2006, allocations: 127.9 kB / 0.7463 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.2006, allocations: 11.86 kB / 0.7463 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2009, allocations: 43.72 kB / 0.7464 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2009, allocations: 8 kB / 0.7464 GB, free: 14.51 MB / 0.5762 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.0002291/0.2011, allocations: 199.7 kB / 0.7466 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.2012, allocations: 51.67 kB / 0.7466 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.2013, allocations: 65.11 kB / 0.7467 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2013, allocations: 4 kB / 0.7467 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2013, allocations: 0 / 0.7467 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2013, allocations: 3.984 kB / 0.7467 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.202, allocations: 0.543 MB / 0.7472 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.202, allocations: 3.984 kB / 0.7472 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.2025, allocations: 123.9 kB / 0.7474 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2026, allocations: 0 / 0.7474 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2026, allocations: 12 kB / 0.7474 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2026, allocations: 7.938 kB / 0.7474 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2026, allocations: 4 kB / 0.7474 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2036, allocations: 0.6522 MB / 0.748 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2037, allocations: 63.58 kB / 0.7481 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2038, allocations: 4 kB / 0.7481 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.204, allocations: 20 kB / 0.7481 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.2041, allocations: 23.94 kB / 0.7481 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.2041, allocations: 12 kB / 0.7481 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004154/0.2045, allocations: 347.1 kB / 0.7485 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2045, allocations: 0 / 0.7485 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000411/0.2049, allocations: 143.7 kB / 0.7486 GB, free: 12.18 MB / 0.5762 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.00132/0.2063, allocations: 1.216 MB / 0.7498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006178/0.2069, allocations: 303.6 kB / 0.7501 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2069, allocations: 0 / 0.7501 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.2072, allocations: 171.6 kB / 0.7502 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.2078, allocations: 127.1 kB / 0.7504 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/0.2147, allocations: 4.855 MB / 0.7551 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.2152, allocations: 0.8704 MB / 0.756 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.2154, allocations: 48.36 kB / 0.756 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.2157, allocations: 195.4 kB / 0.7562 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.2157, allocations: 0 / 0.7562 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/0.5921, allocations: 11.77 MB / 0.7677 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.87, allocations: 1.969 kB / 0.7677 GB, free: 34.21 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.380460893036798] Failed to read output from testmodel.py, exit status != 0: 12.975587303983048 12.990759276 12.799775779 Calling exit ...