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.001216/0.001216, allocations: 112.6 kB / 16.37 MB, free: 6 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.001149/0.001149, allocations: 196 kB / 17.31 MB, free: 5.613 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 287.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8709/0.8709, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001656, allocations: 102.4 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.97 MB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003742/0.1507, allocations: 3.016 MB / 0.6846 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.153, allocations: 2.137 MB / 0.6867 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1531, allocations: 7.938 kB / 0.6867 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1542, allocations: 0.4938 MB / 0.6872 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1544, allocations: 154.8 kB / 0.6873 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.1546, allocations: 59.94 kB / 0.6874 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.155, allocations: 456.8 kB / 0.6878 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1552, allocations: 143.2 kB / 0.6879 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1554, allocations: 159.3 kB / 0.6881 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1556, allocations: 187.1 kB / 0.6883 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.1556, allocations: 32 kB / 0.6883 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.081e-05/0.1557, allocations: 36 kB / 0.6883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.1558, allocations: 95.67 kB / 0.6884 GB, free: 436 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1559, allocations: 214.9 kB / 0.6886 GB, free: 220 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2514/0.4074, allocations: 0.5444 MB / 0.6892 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4074, allocations: 1.281 kB / 0.6892 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4074, allocations: 0 / 0.6892 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4074, allocations: 0 / 0.6892 GB, free: 13.84 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.0009524/0.4084, allocations: 0.7026 MB / 0.6899 GB, free: 13.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4084, allocations: 9 kB / 0.6899 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.4085, allocations: 43.58 kB / 0.6899 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.409, allocations: 386.5 kB / 0.6903 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.409, allocations: 15.66 kB / 0.6903 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.409, allocations: 20.09 kB / 0.6903 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.4094, allocations: 200.6 kB / 0.6905 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4094, allocations: 11.67 kB / 0.6905 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.4095, allocations: 10.22 kB / 0.6905 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4095, allocations: 5.094 kB / 0.6905 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.4098, allocations: 170.2 kB / 0.6907 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.4109, allocations: 0.8518 MB / 0.6915 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.4112, allocations: 161.4 kB / 0.6917 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4114, allocations: 119.3 kB / 0.6918 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4114, allocations: 1.562 kB / 0.6918 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.4114, allocations: 32.77 kB / 0.6918 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.4114, allocations: 0 / 0.6918 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005267/0.4119, allocations: 254.2 kB / 0.6921 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.412, allocations: 54.66 kB / 0.6921 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.4124, allocations: 419.2 kB / 0.6925 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.4124, allocations: 31.27 kB / 0.6925 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.4125, allocations: 204.2 kB / 0.6927 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.4126, allocations: 70.36 kB / 0.6928 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.4126, allocations: 36.33 kB / 0.6928 GB, free: 12.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.4127, allocations: 347.1 kB / 0.6932 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4128, allocations: 59.05 kB / 0.6932 GB, free: 11.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.413, allocations: 60.16 kB / 0.6933 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.4132, allocations: 131.1 kB / 0.6934 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4133, allocations: 3.344 kB / 0.6934 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003373/0.4136, allocations: 215 kB / 0.6936 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4136, allocations: 7.688 kB / 0.6936 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4136, allocations: 0.6562 kB / 0.6936 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4136, allocations: 5.406 kB / 0.6936 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.4139, allocations: 52.61 kB / 0.6937 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4139, allocations: 1.031 kB / 0.6937 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.414, allocations: 19.67 kB / 0.6937 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4141, allocations: 7.469 kB / 0.6937 GB, free: 11.73 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.0001154/0.4142, allocations: 165.5 kB / 0.6939 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.4142, allocations: 35.69 kB / 0.6939 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.4143, allocations: 42.95 kB / 0.6939 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4143, allocations: 7.812 kB / 0.6939 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4143, allocations: 0 / 0.6939 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4143, allocations: 1.078 kB / 0.6939 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.4148, allocations: 375.9 kB / 0.6943 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4148, allocations: 1.672 kB / 0.6943 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.415, allocations: 58 kB / 0.6944 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4151, allocations: 5.312 kB / 0.6944 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4151, allocations: 2.344 kB / 0.6944 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4151, allocations: 4.875 kB / 0.6944 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4151, allocations: 1.375 kB / 0.6944 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.4157, allocations: 377 kB / 0.6947 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.4158, allocations: 121.5 kB / 0.6949 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.4158, allocations: 6.578 kB / 0.6949 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.416, allocations: 11.5 kB / 0.6949 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.4161, allocations: 18.08 kB / 0.6949 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.4161, allocations: 4.031 kB / 0.6949 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.4164, allocations: 302.9 kB / 0.6952 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4164, allocations: 0 / 0.6952 GB, free: 10.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.4167, allocations: 75.88 kB / 0.6953 GB, free: 10.98 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.0001304/0.4169, allocations: 104.8 kB / 0.6954 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.4172, allocations: 144 kB / 0.6955 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4172, allocations: 0 / 0.6955 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.4174, allocations: 78.61 kB / 0.6956 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.418, allocations: 96.7 kB / 0.6957 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.4192, allocations: 0.7499 MB / 0.6964 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4195, allocations: 0.7937 MB / 0.6972 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4197, allocations: 33.09 kB / 0.6972 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.4197, allocations: 24.39 kB / 0.6972 GB, free: 9.66 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4197, allocations: 4.969 kB / 0.6972 GB, free: 9.656 MB / 494.1 MB Notification: Performance of Templates: time 0.008585/0.4283, allocations: 3.964 MB / 0.7011 GB, free: 9.438 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)