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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 117 kB / 17.08 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 195 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7537/0.7537, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 61.34 kB / 0.5584 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1796, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004691/0.1843, allocations: 3.012 MB / 0.6357 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.1876, allocations: 2.148 MB / 0.6378 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.188, allocations: 4 kB / 0.6378 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1898, allocations: 0.4967 MB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1903, allocations: 150.8 kB / 0.6385 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.1904, allocations: 59.94 kB / 0.6385 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.1909, allocations: 449.8 kB / 0.6389 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1912, allocations: 155.2 kB / 0.6391 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.1914, allocations: 163.4 kB / 0.6392 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1917, allocations: 179.1 kB / 0.6394 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.1917, allocations: 35.98 kB / 0.6394 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.1918, allocations: 36 kB / 0.6395 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1919, allocations: 99.61 kB / 0.6396 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1921, allocations: 211 kB / 0.6398 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.1927, allocations: 0.5489 MB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1927, allocations: 0 / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1927, allocations: 11.88 kB / 0.6403 GB, free: 12.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1927, allocations: 0 / 0.6403 GB, free: 12.63 MB / 494.1 MB 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.001067/0.1938, allocations: 0.7006 MB / 0.641 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1938, allocations: 12.03 kB / 0.641 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1939, allocations: 44.38 kB / 0.6411 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.1945, allocations: 374.1 kB / 0.6414 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1945, allocations: 20.8 kB / 0.6414 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.1946, allocations: 24.38 kB / 0.6415 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.195, allocations: 195.6 kB / 0.6416 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.195, allocations: 4 kB / 0.6417 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.195, allocations: 12 kB / 0.6417 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.195, allocations: 7.938 kB / 0.6417 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.1954, allocations: 165.6 kB / 0.6418 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1966, allocations: 0.8661 MB / 0.6427 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.1969, allocations: 150.5 kB / 0.6428 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1971, allocations: 115.6 kB / 0.6429 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1971, allocations: 4 kB / 0.6429 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1971, allocations: 30.56 kB / 0.643 GB, free: 9.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1971, allocations: 4 kB / 0.643 GB, free: 9.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005831/0.1977, allocations: 257.3 kB / 0.6432 GB, free: 9.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1978, allocations: 59.33 kB / 0.6433 GB, free: 9.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.1983, allocations: 413.7 kB / 0.6437 GB, free: 8.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1983, allocations: 29.7 kB / 0.6437 GB, free: 8.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1984, allocations: 204.2 kB / 0.6439 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.1985, allocations: 67.11 kB / 0.6439 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.1986, allocations: 37.66 kB / 0.644 GB, free: 8.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1987, allocations: 346.8 kB / 0.6443 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1989, allocations: 51.97 kB / 0.6444 GB, free: 8.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.199, allocations: 62.03 kB / 0.6444 GB, free: 8.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.1993, allocations: 133.4 kB / 0.6446 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1993, allocations: 8 kB / 0.6446 GB, free: 8.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000367/0.1997, allocations: 207.5 kB / 0.6448 GB, free: 7.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1997, allocations: 9.875 kB / 0.6448 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1997, allocations: 0 / 0.6448 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1998, allocations: 3.938 kB / 0.6448 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.2, allocations: 55.91 kB / 0.6448 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2, allocations: 4 kB / 0.6448 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2002, allocations: 23.83 kB / 0.6448 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2002, allocations: 4 kB / 0.6449 GB, free: 7.738 MB / 494.1 MB 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.0001487/0.2003, allocations: 161.8 kB / 0.645 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.2004, allocations: 39.52 kB / 0.645 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.2005, allocations: 43.53 kB / 0.6451 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2005, allocations: 4 kB / 0.6451 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2005, allocations: 0 / 0.6451 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2005, allocations: 0 / 0.6451 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.2009, allocations: 377.3 kB / 0.6455 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2009, allocations: 4 kB / 0.6455 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.2012, allocations: 55.97 kB / 0.6455 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2012, allocations: 4 kB / 0.6455 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2012, allocations: 3.938 kB / 0.6455 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2012, allocations: 0 / 0.6455 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2012, allocations: 7.938 kB / 0.6455 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.2018, allocations: 371 kB / 0.6459 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.2019, allocations: 124.6 kB / 0.646 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.202, allocations: 7.938 kB / 0.646 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2021, allocations: 8 kB / 0.646 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.2022, allocations: 11.97 kB / 0.646 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2022, allocations: 8 kB / 0.646 GB, free: 6.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.2025, allocations: 295.2 kB / 0.6463 GB, free: 6.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2025, allocations: 4 kB / 0.6463 GB, free: 6.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000296/0.2028, allocations: 75.91 kB / 0.6464 GB, free: 6.074 MB / 494.1 MB 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.0001511/0.203, allocations: 111.2 kB / 0.6465 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.2034, allocations: 135.8 kB / 0.6466 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.2034, allocations: 0 / 0.6466 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.2035, allocations: 89.88 kB / 0.6467 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.2041, allocations: 97.38 kB / 0.6468 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2054, allocations: 0.7747 MB / 0.6476 GB, free: 4.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2058, allocations: 0.8028 MB / 0.6483 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.2059, allocations: 23.44 kB / 0.6484 GB, free: 3.988 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2059, allocations: 0 / 0.6484 GB, free: 3.988 MB / 494.1 MB Notification: Performance of Templates: time 0.006886/0.2128, allocations: 4.393 MB / 0.6527 GB, free: 15.64 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)