Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009721/0.0009724, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001034/0.001034, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 270.6 kB / 291.3 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9396/0.9396, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 16.28 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00206/0.1346, allocations: 1.851 MB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1371, allocations: 2.17 MB / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.1372, allocations: 4.625 kB / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009373/0.1381, allocations: 387.6 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.1383, allocations: 92.41 kB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1386, allocations: 78.3 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.1393, allocations: 0.7451 MB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.1394, allocations: 34 kB / 0.6897 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.1396, allocations: 252.1 kB / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.1401, allocations: 333.1 kB / 0.6903 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.1402, allocations: 28 kB / 0.6903 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.1402, allocations: 28 kB / 0.6903 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.1405, allocations: 210.1 kB / 0.6905 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.1406, allocations: 101.5 kB / 0.6906 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.141, allocations: 0.5493 MB / 0.6912 GB, free: 8.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.141, allocations: 4 kB / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.141, allocations: 0 / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.141, allocations: 0 / 0.6912 GB, free: 8.59 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001994/0.143, allocations: 0.8786 MB / 0.692 GB, free: 7.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.1431, allocations: 8.031 kB / 0.692 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1432, allocations: 47.48 kB / 0.6921 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1445, allocations: 0.5211 MB / 0.6926 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1446, allocations: 24 kB / 0.6926 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.1447, allocations: 43.91 kB / 0.6927 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.145, allocations: 197.5 kB / 0.6929 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.145, allocations: 3.938 kB / 0.6929 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.1451, allocations: 11.98 kB / 0.6929 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1451, allocations: 0 / 0.6929 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.1454, allocations: 191.8 kB / 0.6931 GB, free: 6.578 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004148/0.1495, allocations: 1.467 MB / 0.6945 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.1513, allocations: 0.5933 MB / 0.6951 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.1515, allocations: 143.4 kB / 0.6952 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1515, allocations: 0 / 0.6952 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1516, allocations: 34.97 kB / 0.6952 GB, free: 4.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 1.113e-06/0.1516, allocations: 4 kB / 0.6952 GB, free: 4.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009739/0.1526, allocations: 0.5532 MB / 0.6958 GB, free: 3.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1526, allocations: 55.41 kB / 0.6958 GB, free: 3.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.153, allocations: 401.3 kB / 0.6962 GB, free: 3.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.153, allocations: 37.7 kB / 0.6962 GB, free: 3.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1532, allocations: 161.2 kB / 0.6964 GB, free: 3.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.1533, allocations: 102.5 kB / 0.6965 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1533, allocations: 12 kB / 0.6965 GB, free: 2.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1534, allocations: 350.8 kB / 0.6968 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.154, allocations: 341 kB / 0.6972 GB, free: 2.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.1546, allocations: 405.5 kB / 0.6976 GB, free: 1.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.1552, allocations: 408.8 kB / 0.6979 GB, free: 1.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1552, allocations: 0 / 0.6979 GB, free: 1.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001431/0.1566, allocations: 0.9092 MB / 0.6988 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.1567, allocations: 43.73 kB / 0.6989 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1567, allocations: 4 kB / 0.6989 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.1569, allocations: 28.84 kB / 0.6989 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/0.1577, allocations: 151.8 kB / 0.6991 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009735/0.1587, allocations: 1.315 MB / 0.7003 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.1602, allocations: 115.3 kB / 0.7004 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.1602, allocations: 27.94 kB / 0.7005 GB, free: 14.65 MB / 0.4981 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.1604, allocations: 187.1 kB / 0.7007 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.1605, allocations: 31.53 kB / 0.7007 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.66e-05/0.1606, allocations: 39.48 kB / 0.7007 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1606, allocations: 4 kB / 0.7007 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1606, allocations: 3.984 kB / 0.7007 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1606, allocations: 0 / 0.7007 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.1611, allocations: 465 kB / 0.7012 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1611, allocations: 0 / 0.7012 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.1614, allocations: 43.95 kB / 0.7012 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.343e-05/0.1615, allocations: 28.84 kB / 0.7012 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1615, allocations: 12 kB / 0.7013 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008729/0.1624, allocations: 1.319 MB / 0.7025 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1624, allocations: 7.938 kB / 0.7025 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.1632, allocations: 0.6071 MB / 0.7031 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1633, allocations: 112.6 kB / 0.7032 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.1633, allocations: 12.09 kB / 0.7033 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.164, allocations: 27.95 kB / 0.7033 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1641, allocations: 15.97 kB / 0.7033 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1641, allocations: 11.98 kB / 0.7033 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002369/0.1643, allocations: 259.1 kB / 0.7036 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 0.7036 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006145/0.1649, allocations: 247.8 kB / 0.7038 GB, free: 11.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.1651, allocations: 115.3 kB / 0.7039 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.1662, allocations: 0.7396 MB / 0.7046 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1662, allocations: 4 kB / 0.7046 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1665, allocations: 263.4 kB / 0.7049 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1671, allocations: 86.56 kB / 0.705 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1689, allocations: 1.521 MB / 0.7065 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1692, allocations: 0.8119 MB / 0.7072 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.1695, allocations: 111.2 kB / 0.7074 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1697, allocations: 43.41 kB / 0.7074 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1697, allocations: 0 / 0.7074 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.01148/0.1812, allocations: 7.253 MB / 0.7145 GB, free: 76 kB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)