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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4844/0.4844, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 98.83 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 56.09 kB / 0.4891 GB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3938, allocations: 70.06 MB / 0.5575 GB, free: 44.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004103/0.3979, allocations: 3.052 MB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3999, allocations: 2.109 MB / 0.5626 GB, free: 40.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.4001, allocations: 12 kB / 0.5626 GB, free: 40 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.4012, allocations: 474 kB / 0.563 GB, free: 39.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.4014, allocations: 127.1 kB / 0.5632 GB, free: 39.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.349e-05/0.4015, allocations: 51.97 kB / 0.5632 GB, free: 39.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.4019, allocations: 477.8 kB / 0.5637 GB, free: 38.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.4021, allocations: 131.8 kB / 0.5638 GB, free: 38.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4022, allocations: 143.4 kB / 0.5639 GB, free: 38.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.4024, allocations: 187.1 kB / 0.5641 GB, free: 38.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.4024, allocations: 20 kB / 0.5641 GB, free: 38.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.4025, allocations: 24 kB / 0.5641 GB, free: 38.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.4026, allocations: 83.67 kB / 0.5642 GB, free: 38.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.4027, allocations: 214.9 kB / 0.5644 GB, free: 38.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.403, allocations: 0.5332 MB / 0.565 GB, free: 37.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4031, allocations: 0 / 0.565 GB, free: 37.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.4031, allocations: 0 / 0.565 GB, free: 37.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.4031, allocations: 0 / 0.565 GB, free: 37.56 MB / 410.7 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.0008176/0.4039, allocations: 0.7045 MB / 0.5656 GB, free: 36.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4039, allocations: 8.031 kB / 0.5656 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.404, allocations: 44.38 kB / 0.5657 GB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.4044, allocations: 378.1 kB / 0.5661 GB, free: 36.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4044, allocations: 16.81 kB / 0.5661 GB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.4044, allocations: 20.38 kB / 0.5661 GB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4047, allocations: 199.6 kB / 0.5663 GB, free: 36.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4048, allocations: 0 / 0.5663 GB, free: 36.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.4048, allocations: 15.98 kB / 0.5663 GB, free: 36.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4048, allocations: 8 kB / 0.5663 GB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.4051, allocations: 161.7 kB / 0.5665 GB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.406, allocations: 0.8739 MB / 0.5673 GB, free: 34.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.4063, allocations: 146.6 kB / 0.5674 GB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4065, allocations: 116.8 kB / 0.5676 GB, free: 34.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.4065, allocations: 4 kB / 0.5676 GB, free: 34.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.4065, allocations: 30.56 kB / 0.5676 GB, free: 34.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.4065, allocations: 3.938 kB / 0.5676 GB, free: 34.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004836/0.407, allocations: 259.2 kB / 0.5678 GB, free: 34.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.4071, allocations: 55.41 kB / 0.5679 GB, free: 34.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.4074, allocations: 413.7 kB / 0.5683 GB, free: 33.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4074, allocations: 33.7 kB / 0.5683 GB, free: 33.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.4075, allocations: 204.2 kB / 0.5685 GB, free: 33.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.4075, allocations: 71 kB / 0.5686 GB, free: 33.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.4076, allocations: 33.66 kB / 0.5686 GB, free: 33.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.4077, allocations: 354.7 kB / 0.569 GB, free: 33.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4078, allocations: 51.97 kB / 0.569 GB, free: 33.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4079, allocations: 59.97 kB / 0.5691 GB, free: 33.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.4082, allocations: 143.3 kB / 0.5692 GB, free: 32.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4082, allocations: 0 / 0.5692 GB, free: 32.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002966/0.4085, allocations: 201.2 kB / 0.5694 GB, free: 32.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4085, allocations: 4 kB / 0.5694 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4085, allocations: 3.938 kB / 0.5694 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4085, allocations: 3.938 kB / 0.5694 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4087, allocations: 63.91 kB / 0.5695 GB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4088, allocations: 0 / 0.5695 GB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4089, allocations: 27.73 kB / 0.5695 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4089, allocations: 4 kB / 0.5695 GB, free: 32.67 MB / 410.7 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.0001079/0.409, allocations: 161.8 kB / 0.5696 GB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.4091, allocations: 31.62 kB / 0.5697 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.4091, allocations: 47.53 kB / 0.5697 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4092, allocations: 4 kB / 0.5697 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4092, allocations: 3.984 kB / 0.5697 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4092, allocations: 0 / 0.5697 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.4095, allocations: 373.3 kB / 0.5701 GB, free: 32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4095, allocations: 0 / 0.5701 GB, free: 32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.4097, allocations: 67.88 kB / 0.5702 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4097, allocations: 0 / 0.5702 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4098, allocations: 3.938 kB / 0.5702 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4098, allocations: 4 kB / 0.5702 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4098, allocations: 4 kB / 0.5702 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.412, allocations: 2.219 MB / 0.5723 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.4121, allocations: 116.6 kB / 0.5724 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.4121, allocations: 8 kB / 0.5724 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4123, allocations: 11.98 kB / 0.5725 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4123, allocations: 7.984 kB / 0.5725 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4123, allocations: 4 kB / 0.5725 GB, free: 29.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.4126, allocations: 307.1 kB / 0.5728 GB, free: 29.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4126, allocations: 4.062 kB / 0.5728 GB, free: 29.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.413, allocations: 111.8 kB / 0.5729 GB, free: 29 MB / 410.7 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.000103/0.4131, allocations: 111.1 kB / 0.573 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.4134, allocations: 152.8 kB / 0.5731 GB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4134, allocations: 3.938 kB / 0.5731 GB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4135, allocations: 79.91 kB / 0.5732 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.4141, allocations: 91.23 kB / 0.5733 GB, free: 28.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.4152, allocations: 1.041 MB / 0.5743 GB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.4153, allocations: 0.7993 MB / 0.5751 GB, free: 26.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4155, allocations: 34.95 kB / 0.5751 GB, free: 26.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.4155, allocations: 27.44 kB / 0.5752 GB, free: 26.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4155, allocations: 0 / 0.5752 GB, free: 26.6 MB / 410.7 MB Notification: Performance of Templates: time 0.006264/0.4218, allocations: 4.115 MB / 0.5792 GB, free: 22.58 MB / 410.7 MB 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)