Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001081/0.001081, allocations: 107.2 kB / 16.29 MB, free: 6.43 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.001066/0.001066, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 0.6722 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2162, allocations: 114.5 MB / 0.7841 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004244/0.2204, allocations: 3.03 MB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3739/0.5944, allocations: 2.178 MB / 0.7892 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.5947, allocations: 3.625 kB / 0.7892 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.596, allocations: 0.5 MB / 0.7897 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.5963, allocations: 146.3 kB / 0.7898 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.5964, allocations: 58.47 kB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.5968, allocations: 454.5 kB / 0.7903 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.5971, allocations: 150 kB / 0.7905 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.5973, allocations: 164.6 kB / 0.7906 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.5975, allocations: 181.5 kB / 0.7908 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.5975, allocations: 34.28 kB / 0.7908 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.849e-05/0.5976, allocations: 34.12 kB / 0.7909 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.5977, allocations: 98.25 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.5979, allocations: 215.7 kB / 0.7912 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.5983, allocations: 0.5415 MB / 0.7917 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5983, allocations: 0 / 0.7917 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5983, allocations: 2.469 kB / 0.7917 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.5983, allocations: 0 / 0.7917 GB, free: 45.76 MB / 0.6544 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.0008499/0.5992, allocations: 0.7031 MB / 0.7924 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5992, allocations: 13.5 kB / 0.7924 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.5993, allocations: 44.59 kB / 0.7924 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.5997, allocations: 376.3 kB / 0.7928 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5997, allocations: 16.56 kB / 0.7928 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.5997, allocations: 18.38 kB / 0.7928 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.6001, allocations: 206.8 kB / 0.793 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6001, allocations: 4.594 kB / 0.793 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.6001, allocations: 15.53 kB / 0.793 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6001, allocations: 3.656 kB / 0.793 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.6005, allocations: 161.9 kB / 0.7932 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.6014, allocations: 0.8684 MB / 0.794 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.6017, allocations: 157.8 kB / 0.7942 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.6019, allocations: 111 kB / 0.7943 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.6019, allocations: 0 / 0.7943 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.6019, allocations: 37.62 kB / 0.7943 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.6019, allocations: 0 / 0.7943 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005112/0.6024, allocations: 257.9 kB / 0.7946 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6025, allocations: 60.28 kB / 0.7946 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.6028, allocations: 415.5 kB / 0.795 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.6029, allocations: 29.08 kB / 0.7951 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.603, allocations: 206.3 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.603, allocations: 60.88 kB / 0.7953 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.6031, allocations: 37.39 kB / 0.7954 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.6031, allocations: 343.3 kB / 0.7957 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.6033, allocations: 63.47 kB / 0.7957 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.6034, allocations: 59.22 kB / 0.7958 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.6036, allocations: 132 kB / 0.7959 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6037, allocations: 3.469 kB / 0.7959 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003096/0.604, allocations: 208.4 kB / 0.7961 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.604, allocations: 7.969 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.604, allocations: 0 / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.604, allocations: 5.812 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.6043, allocations: 53.83 kB / 0.7962 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.6043, allocations: 3.188 kB / 0.7962 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.6044, allocations: 16.83 kB / 0.7962 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.6044, allocations: 10.69 kB / 0.7962 GB, free: 43.64 MB / 0.6544 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.000125/0.6046, allocations: 160.8 kB / 0.7964 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.6046, allocations: 43.39 kB / 0.7964 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.6047, allocations: 39.72 kB / 0.7964 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6047, allocations: 5.281 kB / 0.7965 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6047, allocations: 6.891 kB / 0.7965 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6047, allocations: 0 / 0.7965 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.6051, allocations: 378.1 kB / 0.7968 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6051, allocations: 0 / 0.7968 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.6053, allocations: 55.75 kB / 0.7969 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6053, allocations: 4.188 kB / 0.7969 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6053, allocations: 5.688 kB / 0.7969 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6053, allocations: 4 kB / 0.7969 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6053, allocations: 1.781 kB / 0.7969 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.6058, allocations: 376.9 kB / 0.7972 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.6059, allocations: 113 kB / 0.7974 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.606, allocations: 10.19 kB / 0.7974 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.6061, allocations: 11.94 kB / 0.7974 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.6062, allocations: 15.09 kB / 0.7974 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6062, allocations: 3.375 kB / 0.7974 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002418/0.6064, allocations: 308.2 kB / 0.7977 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6064, allocations: 0 / 0.7977 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002833/0.6067, allocations: 72.31 kB / 0.7978 GB, free: 42.91 MB / 0.6544 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.0001075/0.6068, allocations: 107.5 kB / 0.7979 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.6072, allocations: 150.8 kB / 0.798 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6072, allocations: 0 / 0.798 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.6073, allocations: 84.09 kB / 0.7981 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.6079, allocations: 93.44 kB / 0.7982 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.6089, allocations: 0.7392 MB / 0.7989 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.6092, allocations: 0.797 MB / 0.7997 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.6093, allocations: 35.39 kB / 0.7997 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.6094, allocations: 24.47 kB / 0.7997 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6094, allocations: 0 / 0.7997 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.009335/0.6187, allocations: 3.948 MB / 0.8036 GB, free: 41.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)