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.00126/0.00126, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001252/0.001252, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 277.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 96.23 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4549, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00363/0.4586, allocations: 2.217 MB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.462, allocations: 2.397 MB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.4622, allocations: 4 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.4636, allocations: 490.5 kB / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.4639, allocations: 87.42 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.4642, allocations: 107.8 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008303/0.465, allocations: 0.846 MB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.4652, allocations: 56.19 kB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.4655, allocations: 279.4 kB / 0.7734 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.4659, allocations: 335.2 kB / 0.7737 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/0.466, allocations: 52 kB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4662, allocations: 56 kB / 0.7738 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.4664, allocations: 227.4 kB / 0.774 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.4667, allocations: 282.9 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.4673, allocations: 0.7283 MB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4673, allocations: 0 / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4673, allocations: 4 kB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4674, allocations: 0 / 0.775 GB, free: 11.73 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002327/0.4697, allocations: 0.9292 MB / 0.7759 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4697, allocations: 12.03 kB / 0.7759 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4699, allocations: 40.47 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4714, allocations: 0.5223 MB / 0.7765 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.4714, allocations: 24.38 kB / 0.7765 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.4715, allocations: 36.38 kB / 0.7765 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.4719, allocations: 205.7 kB / 0.7767 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4719, allocations: 0 / 0.7767 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.4719, allocations: 8 kB / 0.7767 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.472, allocations: 4 kB / 0.7767 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.4723, allocations: 175.8 kB / 0.7769 GB, free: 9.688 MB / 0.545 GB 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.004605/0.4769, allocations: 1.432 MB / 0.7783 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.4787, allocations: 0.5928 MB / 0.7789 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.4789, allocations: 136.8 kB / 0.779 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4789, allocations: 0 / 0.779 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.4789, allocations: 46.5 kB / 0.7791 GB, free: 7.398 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.4789, allocations: 0 / 0.7791 GB, free: 7.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001069/0.48, allocations: 0.5384 MB / 0.7796 GB, free: 6.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4801, allocations: 59.34 kB / 0.7796 GB, free: 6.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.4804, allocations: 397.4 kB / 0.78 GB, free: 6.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.4805, allocations: 41.7 kB / 0.7801 GB, free: 6.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4806, allocations: 173 kB / 0.7802 GB, free: 6.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4808, allocations: 94.64 kB / 0.7803 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.481, allocations: 150.3 kB / 0.7805 GB, free: 5.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4811, allocations: 354.7 kB / 0.7808 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.4817, allocations: 341.1 kB / 0.7811 GB, free: 5.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.4823, allocations: 401.5 kB / 0.7815 GB, free: 4.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.4831, allocations: 0.5684 MB / 0.7821 GB, free: 4.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4831, allocations: 4 kB / 0.7821 GB, free: 4.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001482/0.4846, allocations: 0.9131 MB / 0.7829 GB, free: 3.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.4847, allocations: 41.69 kB / 0.783 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4847, allocations: 0 / 0.783 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.4849, allocations: 32.84 kB / 0.783 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.4857, allocations: 147.8 kB / 0.7832 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.4868, allocations: 1.422 MB / 0.7845 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4885, allocations: 111.3 kB / 0.7847 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.4885, allocations: 23.98 kB / 0.7847 GB, free: 1.383 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.4888, allocations: 188.1 kB / 0.7849 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.4888, allocations: 31.53 kB / 0.7849 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.456e-05/0.4889, allocations: 39.47 kB / 0.7849 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4889, allocations: 4 kB / 0.7849 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4889, allocations: 3.938 kB / 0.7849 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.489, allocations: 4 kB / 0.7849 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.4894, allocations: 461 kB / 0.7854 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4894, allocations: 0 / 0.7854 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.4897, allocations: 43.95 kB / 0.7854 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.4898, allocations: 28.84 kB / 0.7854 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.4899, allocations: 8 kB / 0.7855 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009595/0.4908, allocations: 1.426 MB / 0.7868 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4909, allocations: 160 / 0.7868 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.4917, allocations: 0.5938 MB / 0.7874 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.4918, allocations: 112.6 kB / 0.7875 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.4918, allocations: 11.98 kB / 0.7875 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.4926, allocations: 35.81 kB / 0.7876 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.4926, allocations: 15.97 kB / 0.7876 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4926, allocations: 8.188 kB / 0.7876 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002424/0.4929, allocations: 263.1 kB / 0.7879 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4929, allocations: 3.938 kB / 0.7879 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006547/0.4936, allocations: 232 kB / 0.7881 GB, free: 13.66 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.4937, allocations: 119.8 kB / 0.7882 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.4948, allocations: 0.7435 MB / 0.7889 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4949, allocations: 0 / 0.7889 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.4952, allocations: 260.2 kB / 0.7892 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.4958, allocations: 86.03 kB / 0.7892 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4975, allocations: 1.335 MB / 0.7906 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4979, allocations: 0.8038 MB / 0.7913 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.4981, allocations: 43.42 kB / 0.7914 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4981, allocations: 0 / 0.7914 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.01009/0.5082, allocations: 7.544 MB / 0.7987 GB, free: 2.66 MB / 0.5606 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)