Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001566/0.001566, allocations: 114.9 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.001555/0.001555, allocations: 201.6 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.464/1.464, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.9512/0.9512, allocations: 150 MB / 460.2 MB, free: 5.281 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.00195/0.00195, allocations: 62.91 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1566, allocations: 89.13 MB / 0.7239 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004525/0.1611, allocations: 3.038 MB / 0.7269 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.1643, allocations: 2.203 MB / 0.729 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.1646, allocations: 8 kB / 0.729 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.1663, allocations: 0.5132 MB / 0.7295 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.1667, allocations: 138.9 kB / 0.7297 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1668, allocations: 59.94 kB / 0.7297 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005741/0.1674, allocations: 441.8 kB / 0.7301 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.1677, allocations: 103.3 kB / 0.7302 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.168, allocations: 171.3 kB / 0.7304 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1683, allocations: 191.1 kB / 0.7306 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.1683, allocations: 36 kB / 0.7306 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.1684, allocations: 32 kB / 0.7306 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1685, allocations: 95.67 kB / 0.7307 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1687, allocations: 218.9 kB / 0.7309 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.1693, allocations: 0.5408 MB / 0.7315 GB, free: 12.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1693, allocations: 4 kB / 0.7315 GB, free: 12.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1693, allocations: 0 / 0.7315 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.1693, allocations: 3.984 kB / 0.7315 GB, free: 12.26 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001144/0.1705, allocations: 0.7043 MB / 0.7322 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1705, allocations: 12.03 kB / 0.7322 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.641e-05/0.1705, allocations: 4.625 kB / 0.7322 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/0.1706, allocations: 58.67 kB / 0.7322 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.1707, allocations: 48.61 kB / 0.7323 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.1713, allocations: 390.4 kB / 0.7327 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1714, allocations: 20.38 kB / 0.7327 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.1714, allocations: 16 kB / 0.7327 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.1718, allocations: 199.3 kB / 0.7329 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1718, allocations: 0 / 0.7329 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.1719, allocations: 12 kB / 0.7329 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1719, allocations: 4 kB / 0.7329 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.1723, allocations: 165.6 kB / 0.7331 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.1735, allocations: 0.8664 MB / 0.7339 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.1739, allocations: 150.5 kB / 0.734 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1741, allocations: 106.7 kB / 0.7341 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1741, allocations: 0 / 0.7341 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.1742, allocations: 50.48 kB / 0.7342 GB, free: 9.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1742, allocations: 0 / 0.7342 GB, free: 9.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006332/0.1748, allocations: 247.4 kB / 0.7344 GB, free: 9.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1748, allocations: 59.31 kB / 0.7345 GB, free: 8.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.1754, allocations: 413.7 kB / 0.7349 GB, free: 8.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1754, allocations: 29.7 kB / 0.7349 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1755, allocations: 208.4 kB / 0.7351 GB, free: 8.309 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.1756, allocations: 63.44 kB / 0.7352 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.1757, allocations: 29.7 kB / 0.7352 GB, free: 8.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1759, allocations: 350.8 kB / 0.7355 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.176, allocations: 59.95 kB / 0.7356 GB, free: 7.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1762, allocations: 54.2 kB / 0.7356 GB, free: 7.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.1765, allocations: 140.7 kB / 0.7358 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1765, allocations: 0 / 0.7358 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004277/0.1769, allocations: 214.7 kB / 0.736 GB, free: 7.395 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1769, allocations: 7.984 kB / 0.736 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1769, allocations: 0 / 0.736 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1769, allocations: 0 / 0.736 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.1772, allocations: 55.91 kB / 0.736 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1772, allocations: 0 / 0.736 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1774, allocations: 19.88 kB / 0.7361 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1774, allocations: 7.984 kB / 0.7361 GB, free: 7.305 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 (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.0001686/0.1775, allocations: 161.8 kB / 0.7362 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.1776, allocations: 43.7 kB / 0.7363 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.1777, allocations: 39.58 kB / 0.7363 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1777, allocations: 4 kB / 0.7363 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1777, allocations: 0 / 0.7363 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1777, allocations: 0 / 0.7363 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.1782, allocations: 385.2 kB / 0.7367 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1782, allocations: 0 / 0.7367 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.1785, allocations: 63.89 kB / 0.7367 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1785, allocations: 4 kB / 0.7367 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1785, allocations: 3.938 kB / 0.7367 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1785, allocations: 4 kB / 0.7367 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1785, allocations: 0 / 0.7367 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.1791, allocations: 375.9 kB / 0.7371 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1792, allocations: 124.8 kB / 0.7372 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1793, allocations: 8.062 kB / 0.7372 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1794, allocations: 8 kB / 0.7372 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1795, allocations: 7.984 kB / 0.7372 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1795, allocations: 4 kB / 0.7372 GB, free: 5.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003448/0.1798, allocations: 303.1 kB / 0.7375 GB, free: 5.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1798, allocations: 0 / 0.7375 GB, free: 5.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000309/0.1802, allocations: 71.89 kB / 0.7376 GB, free: 5.633 MB / 0.545 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.001002/0.1812, allocations: 0.9264 MB / 0.7385 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.1815, allocations: 135.9 kB / 0.7386 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1815, allocations: 4.062 kB / 0.7386 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1817, allocations: 71.91 kB / 0.7387 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.1823, allocations: 110.5 kB / 0.7388 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.1872, allocations: 3.491 MB / 0.7422 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.1877, allocations: 0.7951 MB / 0.743 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.1878, allocations: 34.95 kB / 0.743 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.188, allocations: 119.4 kB / 0.7431 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.188, allocations: 4 kB / 0.7432 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.2162, allocations: 8.028 MB / 0.751 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/9.025, allocations: 17.86 kB / 0.751 GB, free: 8.094 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.87660900899209] Failed to read output from testmodel.py, exit status != 0: 9.155708241974935 9.18300186 9.008724975 Calling exit ...