Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004951/0.004951, allocations: 99.83 kB / 15.73 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.001083/0.001083, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 296 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9023/0.9023, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 95.84 kB / 0.6815 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4003, allocations: 86.97 MB / 0.7664 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00392/0.4043, allocations: 3.012 MB / 0.7694 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.4067, allocations: 2.152 MB / 0.7715 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.4069, allocations: 7.938 kB / 0.7715 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.4082, allocations: 0.4917 MB / 0.772 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.4084, allocations: 150.8 kB / 0.7721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.4085, allocations: 59.95 kB / 0.7722 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.409, allocations: 449.8 kB / 0.7726 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.4092, allocations: 155.2 kB / 0.7727 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.4094, allocations: 155.4 kB / 0.7729 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.4096, allocations: 183.1 kB / 0.7731 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.4097, allocations: 36 kB / 0.7731 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.4097, allocations: 32 kB / 0.7731 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4098, allocations: 103.6 kB / 0.7732 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.41, allocations: 219 kB / 0.7734 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.4105, allocations: 0.5486 MB / 0.774 GB, free: 12.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4105, allocations: 0 / 0.774 GB, free: 12.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.066e-05/0.4106, allocations: 0 / 0.774 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4106, allocations: 3.938 kB / 0.774 GB, free: 12.21 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.0009543/0.4115, allocations: 0.716 MB / 0.7747 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.4116, allocations: 8.031 kB / 0.7747 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.4116, allocations: 52.59 kB / 0.7747 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.4121, allocations: 382.4 kB / 0.7751 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4121, allocations: 16.81 kB / 0.7751 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.4122, allocations: 20.38 kB / 0.7751 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.4126, allocations: 199.6 kB / 0.7753 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4126, allocations: 7.984 kB / 0.7753 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.4126, allocations: 12 kB / 0.7753 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.4126, allocations: 4 kB / 0.7753 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.413, allocations: 161.7 kB / 0.7755 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.4141, allocations: 0.8703 MB / 0.7763 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.4144, allocations: 150.6 kB / 0.7765 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.4146, allocations: 118.1 kB / 0.7766 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4146, allocations: 0 / 0.7766 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4146, allocations: 38.81 kB / 0.7766 GB, free: 9.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.4146, allocations: 0 / 0.7766 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005465/0.4152, allocations: 257.2 kB / 0.7769 GB, free: 9.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4152, allocations: 55.41 kB / 0.7769 GB, free: 8.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.4157, allocations: 413.7 kB / 0.7773 GB, free: 8.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4157, allocations: 29.7 kB / 0.7774 GB, free: 8.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4158, allocations: 212.3 kB / 0.7776 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.4159, allocations: 67.44 kB / 0.7776 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.416, allocations: 29.7 kB / 0.7777 GB, free: 8.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4161, allocations: 350.8 kB / 0.778 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.4163, allocations: 55.97 kB / 0.778 GB, free: 7.812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4164, allocations: 59.91 kB / 0.7781 GB, free: 7.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.4167, allocations: 139.1 kB / 0.7782 GB, free: 7.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4167, allocations: 3.938 kB / 0.7782 GB, free: 7.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003662/0.4171, allocations: 211.8 kB / 0.7784 GB, free: 7.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4171, allocations: 4 kB / 0.7784 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4171, allocations: 0 / 0.7784 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4171, allocations: 3.938 kB / 0.7784 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.4174, allocations: 59.89 kB / 0.7785 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4174, allocations: 0 / 0.7785 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.4175, allocations: 27.84 kB / 0.7785 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4175, allocations: 4 kB / 0.7785 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.0001435/0.4177, allocations: 164.2 kB / 0.7787 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.4177, allocations: 35.77 kB / 0.7787 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.4178, allocations: 43.53 kB / 0.7788 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4178, allocations: 0 / 0.7788 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4178, allocations: 0 / 0.7788 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4178, allocations: 3.984 kB / 0.7788 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.4182, allocations: 377.4 kB / 0.7791 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4182, allocations: 7.875 kB / 0.7791 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.4185, allocations: 51.97 kB / 0.7792 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4185, allocations: 0 / 0.7792 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.4185, allocations: 15.92 kB / 0.7792 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4185, allocations: 0 / 0.7792 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4185, allocations: 0 / 0.7792 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.4191, allocations: 381.9 kB / 0.7796 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.4192, allocations: 120.9 kB / 0.7797 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.4193, allocations: 3.938 kB / 0.7797 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4194, allocations: 11.98 kB / 0.7797 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.4195, allocations: 11.89 kB / 0.7797 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4195, allocations: 11.98 kB / 0.7797 GB, free: 6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003089/0.4198, allocations: 303.1 kB / 0.78 GB, free: 5.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4198, allocations: 0 / 0.78 GB, free: 5.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002853/0.4201, allocations: 75.95 kB / 0.7801 GB, free: 5.629 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.0001344/0.4203, allocations: 107.2 kB / 0.7802 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.4206, allocations: 143.9 kB / 0.7803 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4206, allocations: 0 / 0.7803 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.4208, allocations: 75.91 kB / 0.7804 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.4213, allocations: 97.33 kB / 0.7805 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4225, allocations: 0.7641 MB / 0.7812 GB, free: 4.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4228, allocations: 0.7951 MB / 0.782 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000108/0.423, allocations: 34.95 kB / 0.782 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.423, allocations: 27.44 kB / 0.7821 GB, free: 3.535 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.423, allocations: 3.938 kB / 0.7821 GB, free: 3.531 MB / 0.545 GB Notification: Performance of Templates: time 0.007642/0.4307, allocations: 3.995 MB / 0.786 GB, free: 15.66 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)