Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 130.7 MB / 138.7 MB, free: 3.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 391.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008974, allocations: 97.06 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 4 kB / 0.5485 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.4998, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.6598, allocations: 118.9 MB / 0.7443 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.6601, allocations: 107.9 kB / 0.7444 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04818/0.7083, allocations: 17.98 MB / 0.762 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7083, allocations: 0 / 0.762 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.7084, allocations: 8 kB / 0.762 GB, free: 5.691 MB / 0.5417 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.0007549/0.7091, allocations: 0.58 MB / 0.7625 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7092, allocations: 8.031 kB / 0.7625 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.7092, allocations: 51.39 kB / 0.7626 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.7097, allocations: 351.7 kB / 0.7629 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.7098, allocations: 12 kB / 0.7629 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.7098, allocations: 12 kB / 0.7629 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002461/0.7101, allocations: 120.9 kB / 0.7631 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.7104, allocations: 154.4 kB / 0.7632 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7104, allocations: 0 / 0.7632 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.7104, allocations: 0 / 0.7632 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.7104, allocations: 11.95 kB / 0.7632 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.7116, allocations: 0.8153 MB / 0.764 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.7118, allocations: 136.7 kB / 0.7641 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.7119, allocations: 93.38 kB / 0.7642 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.712, allocations: 3.906 kB / 0.7642 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.712, allocations: 42.44 kB / 0.7643 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.712, allocations: 0 / 0.7643 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0003016/0.7123, allocations: 158.8 kB / 0.7644 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7123, allocations: 55.41 kB / 0.7645 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.7127, allocations: 326.4 kB / 0.7648 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.7128, allocations: 25.7 kB / 0.7648 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.7129, allocations: 204.1 kB / 0.765 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.713, allocations: 63.09 kB / 0.7651 GB, free: 2.301 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.713, allocations: 0 / 0.7651 GB, free: 2.301 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7131, allocations: 346.8 kB / 0.7654 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.7132, allocations: 40 kB / 0.7654 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.7133, allocations: 47.95 kB / 0.7655 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.7134, allocations: 46.05 kB / 0.7655 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7134, allocations: 4 kB / 0.7655 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002344/0.7136, allocations: 165.2 kB / 0.7657 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7136, allocations: 4 kB / 0.7657 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7136, allocations: 0 / 0.7657 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7137, allocations: 0 / 0.7657 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.7139, allocations: 63.89 kB / 0.7658 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.714, allocations: 7.984 kB / 0.7658 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.7141, allocations: 19.92 kB / 0.7658 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.7141, allocations: 4 kB / 0.7658 GB, free: 1.555 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.7142, allocations: 110.8 kB / 0.7659 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.7143, allocations: 35.53 kB / 0.7659 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.702e-05/0.7144, allocations: 43.25 kB / 0.766 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7144, allocations: 4 kB / 0.766 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7144, allocations: 0 / 0.766 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7144, allocations: 4 kB / 0.766 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.7148, allocations: 329.8 kB / 0.7663 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7148, allocations: 0 / 0.7663 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.715, allocations: 63.84 kB / 0.7664 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.715, allocations: 4 kB / 0.7664 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.7151, allocations: 0 / 0.7664 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7151, allocations: 0 / 0.7664 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7151, allocations: 4 kB / 0.7664 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.7155, allocations: 320.2 kB / 0.7667 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.7156, allocations: 124.5 kB / 0.7668 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.7157, allocations: 4 kB / 0.7668 GB, free: 464 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.7158, allocations: 7.984 kB / 0.7668 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.7159, allocations: 15.92 kB / 0.7668 GB, free: 440 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.7159, allocations: 12.06 kB / 0.7668 GB, free: 428 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002663/0.7162, allocations: 260.6 kB / 0.7671 GB, free: 168 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7162, allocations: 3.938 kB / 0.7671 GB, free: 164 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003073/0.7165, allocations: 75.83 kB / 0.7671 GB, free: 88 kB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/0.7169, allocations: 259.7 kB / 0.7674 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.7171, allocations: 111.8 kB / 0.7675 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7171, allocations: 0 / 0.7675 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.7172, allocations: 59.94 kB / 0.7676 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.7176, allocations: 78.55 kB / 0.7676 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008996/0.7186, allocations: 0.5134 MB / 0.7681 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.7189, allocations: 0.8029 MB / 0.7689 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.7191, allocations: 35.27 kB / 0.7689 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.7191, allocations: 23.44 kB / 0.769 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.7191, allocations: 0 / 0.769 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of Templates: time 0.007296/0.7264, allocations: 3.555 MB / 0.7724 GB, free: 10.69 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)