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.001322/0.001322, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001418/0.001418, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.448/1.448, allocations: 230.6 MB / 254.2 MB, free: 15.05 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.9601/0.9601, allocations: 150 MB / 460.2 MB, free: 5.215 MB / 350.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="cs",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="cs",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.002191/0.002191, allocations: 72.23 kB / 0.6369 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1606, allocations: 89.12 MB / 0.7239 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006087/0.1667, allocations: 4.178 MB / 0.728 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.1709, allocations: 2.456 MB / 0.7304 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.1715, allocations: 16 kB / 0.7304 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.1733, allocations: 0.5597 MB / 0.7309 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006997/0.174, allocations: 246 kB / 0.7312 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1744, allocations: 139.8 kB / 0.7313 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1755, allocations: 0.8084 MB / 0.7321 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.1759, allocations: 230.6 kB / 0.7323 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.1765, allocations: 310.9 kB / 0.7326 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.177, allocations: 330.6 kB / 0.7329 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.1771, allocations: 76 kB / 0.733 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1773, allocations: 76 kB / 0.7331 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1775, allocations: 159.5 kB / 0.7332 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.178, allocations: 394.2 kB / 0.7336 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.1791, allocations: 0.9923 MB / 0.7346 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1791, allocations: 0 / 0.7346 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1791, allocations: 0 / 0.7346 GB, free: 9.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.964e-05/0.1791, allocations: 0 / 0.7346 GB, free: 9.035 MB / 0.545 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.001816/0.181, allocations: 0.9652 MB / 0.7355 GB, free: 8.016 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.181, allocations: 15.97 kB / 0.7355 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.356e-05/0.181, allocations: 13.19 kB / 0.7355 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1811, allocations: 90.7 kB / 0.7356 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.1813, allocations: 76.47 kB / 0.7357 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.1821, allocations: 462 kB / 0.7361 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.1821, allocations: 40.94 kB / 0.7362 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.1822, allocations: 48 kB / 0.7362 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.183, allocations: 430.5 kB / 0.7366 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1831, allocations: 3.938 kB / 0.7366 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.1831, allocations: 20 kB / 0.7367 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1831, allocations: 12 kB / 0.7367 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.1839, allocations: 367.8 kB / 0.737 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1863, allocations: 1.52 MB / 0.7385 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.1869, allocations: 312.2 kB / 0.7388 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.1874, allocations: 284.7 kB / 0.7391 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.1875, allocations: 8.625 kB / 0.7391 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1875, allocations: 42.56 kB / 0.7391 GB, free: 4.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.325e-06/0.1875, allocations: 0 / 0.7391 GB, free: 4.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001099/0.1886, allocations: 0.4888 MB / 0.7396 GB, free: 3.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.1887, allocations: 59.19 kB / 0.7397 GB, free: 3.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.1894, allocations: 485.9 kB / 0.7401 GB, free: 3.113 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.1894, allocations: 33.69 kB / 0.7401 GB, free: 3.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.1897, allocations: 280.7 kB / 0.7404 GB, free: 2.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.1899, allocations: 154.7 kB / 0.7406 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.19, allocations: 62.08 kB / 0.7406 GB, free: 2.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1902, allocations: 362.7 kB / 0.741 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1905, allocations: 120.7 kB / 0.7411 GB, free: 2.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.1907, allocations: 133.2 kB / 0.7412 GB, free: 1.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.1913, allocations: 298.1 kB / 0.7415 GB, free: 1.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1913, allocations: 0 / 0.7415 GB, free: 1.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007544/0.1921, allocations: 392.8 kB / 0.7419 GB, free: 1.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1921, allocations: 8 kB / 0.7419 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1921, allocations: 0 / 0.7419 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1921, allocations: 3.984 kB / 0.7419 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.1927, allocations: 127.9 kB / 0.742 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1927, allocations: 4 kB / 0.742 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1929, allocations: 39.61 kB / 0.742 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.193, allocations: 12 kB / 0.7421 GB, free: 1.09 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.0002836/0.1933, allocations: 201.7 kB / 0.7422 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1934, allocations: 51.67 kB / 0.7423 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.1935, allocations: 61.08 kB / 0.7424 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1935, allocations: 4 kB / 0.7424 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1935, allocations: 4 kB / 0.7424 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1935, allocations: 4 kB / 0.7424 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.1943, allocations: 0.5751 MB / 0.7429 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1943, allocations: 3.938 kB / 0.7429 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.1949, allocations: 123.9 kB / 0.743 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1949, allocations: 4 kB / 0.7431 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.1949, allocations: 12.08 kB / 0.7431 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1949, allocations: 0 / 0.7431 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1949, allocations: 3.984 kB / 0.7431 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.196, allocations: 0.6445 MB / 0.7437 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.1962, allocations: 144.6 kB / 0.7438 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.1963, allocations: 8 kB / 0.7438 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1965, allocations: 15.98 kB / 0.7439 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.1966, allocations: 23.97 kB / 0.7439 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1966, allocations: 12 kB / 0.7439 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004566/0.197, allocations: 355.1 kB / 0.7442 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.197, allocations: 0 / 0.7442 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004552/0.1975, allocations: 135.8 kB / 0.7444 GB, free: 14.63 MB / 0.5606 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.001492/0.199, allocations: 1.219 MB / 0.7456 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006741/0.1997, allocations: 303.6 kB / 0.7458 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1997, allocations: 0 / 0.7458 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.2, allocations: 171.9 kB / 0.746 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.2007, allocations: 129.6 kB / 0.7461 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.2084, allocations: 4.865 MB / 0.7509 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.2089, allocations: 0.8665 MB / 0.7517 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.2092, allocations: 52.36 kB / 0.7518 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.2095, allocations: 187.4 kB / 0.752 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.2095, allocations: 0 / 0.752 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.2453, allocations: 11.54 MB / 0.7632 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.156/9.402, allocations: 11.94 kB / 0.7632 GB, free: 11.5 MB / 0.5762 GB " [Timeout remaining time 650] (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: 13.272622694959864] Failed to read output from testmodel.py, exit status != 0: 9.533138909959234 9.548612013 9.366226564 Calling exit ...